This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: reader glitch
- To: tk at research dot att dot com
- Subject: Re: reader glitch
- From: Per Bothner <per at bothner dot com>
- Date: 05 Jun 2001 16:05:09 -0700
- Cc: kawa at sources dot redhat dot com
- References: <15133.472.24224.235171@bual.research.att.com>
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/