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. Regards, Julian