[Scheme-reports] issue with R7RS draft 8 section 7.1.7 <comment> Joseph Wayne Norton (14 Jan 2013 09:29 UTC)

[Scheme-reports] issue with R7RS draft 8 section 7.1.7 <comment> Joseph Wayne Norton 14 Jan 2013 09:29 UTC

The definition for <comment> has an issue when it follows a dot (".").

The definition includes 3 cases - simple comment, nested comment, and datum comment.

comment         = ";" *non-line-ending line-ending
                          / nested-comment
                          / "#;" datum

The datum comment when following a dot "eats" the next datum and thus is improper.

I'd suggest to document this point or to correct the BNF definition with special handling for dot.

thanks,

Joe N.
_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports