[plt-scheme] v299.27 parser-tools -- how do unput() or yyless()?

From: Anthony Wuersch (awuersch at siac.com)
Date: Wed Feb 16 15:29:02 EST 2005

Subject line says it all, but if not ...

I'd like to vector to another lexer upon failure (which in my lexer means
matching ".") but I don't see how to push back "." .

'port-next-location' doesn't respect 'file-position' changes, so resetting
via file-position isn't good enough.

Hopefully I don't have to reinstantiate the input port to read up to just
before "." ?

Is an escape continuation the Scheme-y way to go here?

Toni

-----------------------------------------
This message and its attachments may contain  privileged and confidential
information.  If you are not the intended recipient(s), you are prohibited
from printing, forwarding, saving or copying this email.  If you have
received this e-mail in error, please immediately notify the sender and
delete this e-mail and its attachments from your computer.



Posted on the users mailing list.