This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: reader glitch


Thomas Kirk <tk@research.att.com> writes:

> there's a problem with the new kawa reader (in 1.6.91, latest cvs rev)
> where tokens beginning with "." are read incorrectly -- the . is
> dropped and the following character is doubled. 

This seems to fix it.

Index: ReaderParens.java
===================================================================
RCS file: /cvs/kawa/kawa/gnu/kawa/lispexpr/ReaderParens.java,v
retrieving revision 1.2
diff -u -r1.2 ReaderParens.java
--- ReaderParens.java	2001/04/26 21:44:40	1.2
+++ ReaderParens.java	2001/06/05 22:54:45
@@ -100,6 +100,7 @@
 		else
 		  {
 		    // Treat '.' as start of token.
+		    ch = '.';
 		    entry = ReadTableEntry.getConstituentInstance();
 		  }
 	      }
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]