[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: r6rs incompatibilities

From: Julian Graham
Subject: Re: r6rs incompatibilities
Date: Sun, 23 May 2010 13:24:29 -0400

Hi Mike,

> 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.)

If the fifth character is EOF instead of 'r', control is handed to
scm_read_scsh_block_comment (after ungetting EOF), which raises the
appropriate unterminated comment error.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]