Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

End of line for line comments #35

Open
atsampson opened this issue Jul 26, 2017 · 1 comment
Open

End of line for line comments #35

atsampson opened this issue Jul 26, 2017 · 1 comment

Comments

@atsampson
Copy link
Contributor

In section 2.3: "A line comment is any character sequence between the comment delimiter (*) and the following end of line."

I think this is the only place where the spec cares about line endings. Is it worth being clearer about exactly what the "following end of line" is, to avoid ambiguity when processing source files with different line ending conventions? Perhaps something like "... and the next carriage return or linefeed character (or the end of the file)."

@Hibou57
Copy link

Hibou57 commented Aug 31, 2017

Unicode has a definition for this: http://www.unicode.org/reports/tr14/#BK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants