[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SAIL-NEWIO
- To: bug-lisp at MIT-MC
- Subject: SAIL-NEWIO
- From: Dick Gabriel <RPG at SU-AI>
- Date: Thu, 4 Jan 79 21:54:00 GMT
- Original-date: 4 Jan 1979 1354-PST
I've come across a strange diskio bug in SAIL-NEWIO.
Namely, suppose that { is a read macro that basically does TYI's.
However, assume that [ and < cause a READ to occur and ] and >
are splicing macros al la (lambda () ()) and that you are scanning something
like:
{[foo] <bar> [abcd] => ...}
The program does a tyi and sees the [, flushes it, and the does (READ file),
getting "foo" (and removing the ] from consideration). Now it does a TYI and
gets > (!!!), then a space, then the < (!!!). Here it does the correct (READ file).
It flushes the > but then the next TYI gets a > again!!!
This sounds suspicious to me.
-rpg-