Support for the #!r6rs lexeme.
authorJulian Graham <julian.graham@aya.yale.edu>
Thu, 27 May 2010 13:20:53 +0000 (09:20 -0400)
committerJulian Graham <julian.graham@aya.yale.edu>
Thu, 27 May 2010 13:21:18 +0000 (09:21 -0400)
commit911b03b20c0e75b2379440064f7d8d8fd24453c2
tree6a58d7aad0be1b1242f8a6f8992174d271ed259f
parent26997111c869348170bdb9280b7963318c701ae6
Support for the #!r6rs lexeme.

* libguile/read.c (scm_read_shebang): New function;
  (scm_read_sharp): Call scm_read_shebang on '!', which delegates to
  scm_read_scsh_block_comment as necessary.
* test-suite/tests/reader.test ("R6RS lexeme comment", "partial R6RS
  lexeme comment"): New tests.
libguile/read.c
test-suite/tests/reader.test