Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upAnnex B.1.3 MultiLineComment grammar #941
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
bathos
Jun 24, 2017
Contributor
derp — looks like SingleLineDelimitedComment covers it. Name threw me off!
|
derp — looks like |
bathos
closed this
Jun 24, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bathos commentedJun 24, 2017
•
edited
The Annex B alternative definition for MultiLineComment is given as:
Looking at other examples from Annex B, it seems as though these alternative productions represent complete replacements, not just additional right hand sides to tack on. Unless I’m mistaken about that, it seems like this alternative definition is precluding
/**/comments without LineTerminators within. It seems like it should actually be something like: