Kevin Ryde <[EMAIL PROTECTED]> writes:

> Bill Schottstaedt <[EMAIL PROTECTED]> writes:
>>
>> (begin
>>    (display 1)
>> #!
>> (display 2)
>> !#
>> )
>>
>> gets:
>>
>> ERROR: In procedure scm_lreadr:
>> ERROR: tmp34.scm:6:2: unexpected ")"
>
> Looks like #! !# doesn't work as the last thing in a list.  Maybe that
> comment should be detected and discarded in scm_flush_ws, so the
> readrecparen funcs can see the close paren.

Yes, I have done this now.

Makes me think, maybe we should remove the restriction that #! and !#
comments are only detected at the ery beginning of a line.  That
restriction serves no real purpose, imo.  Opinions?


_______________________________________________
Bug-guile mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-guile

Reply via email to