[Scheme-reports] Issues with <comment> grammar rule Mike Morgan (05 Jun 2012 15:07 UTC)
Re: [Scheme-reports] Issues with <comment> grammar rule Alex Shinn (05 Jun 2012 23:13 UTC)

Re: [Scheme-reports] Issues with <comment> grammar rule Alex Shinn 05 Jun 2012 23:11 UTC

On Wed, Jun 6, 2012 at 12:03 AM, Mike Morgan <lordzoner@gmail.com> wrote:
> In the grammar of the sixth "small" draft, I noticed two small issues for the
> <comment> rule (section 7.1.1).
>
> 1) In the first choice of the <comment> rule, it lists <all subsequent
> characters up to a line break>.  However, the spec does not define exactly
> what constitutes a line break.
>
> 2) The third choice of the rule uses <atmosphere> to separate `#;' from the
> datum it comments.  However, the <atmosphere> rule will match exactly one
> comment or whitespace character, which is surely not what is intended.  This
> could be fixed by using <intertoken space> in its place.

Thanks Mike, both fixed.

Note there was rough consensus earlier that line break
should be NL, CR+NL and CR, but not the Unicode NEL,
so I'm going with that.  If someone disagrees we can
file a ticket.

--
Alex

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