> From: Julian Graham jool...@gmail.com

> One thing I noticed while look at Andreas' `wak' project is that the
> use of `#!r6rs' seems to be pretty common, which conflicts with
> Guile's support for SCSH-style block comments.  Find attached a
> (somewhat inelegant) patch that adds support for the `#!r6rs' lexeme
> in the default reader.  (What do people think about this?  Is there a
> better way to do it?)

What happens with this patch if the file only contains the four
characters "#!r6" followed by EOF?  Does it behave appropriately
after calling scm_ungetc on EOF?  (I guess that would make it an 
unterminated hash bang comment.)

Thanks,
Mike


Reply via email to