Skip to content

[backport] Fix newline bugs #4937

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

Merged
merged 4 commits into from
Sep 10, 2018
Merged

[backport] Fix newline bugs #4937

merged 4 commits into from
Sep 10, 2018

Conversation

chriseth
Copy link
Contributor

Backport of #4912

 - any unicode line break (line feed, vertical tab, form feed, carriage
   return, NEL, LS and PS) is considered to terminate a single-line
   comment. The line break itself is considered to be the next token
   after the comment, leading to a parser error if it is not an
   ascii character (i.e. for NEL, LS and PS).
 - unterminated multiline comments are considered illegal tokens
 - '/** /' is considered an unterminated multiline comment
   (previously, whitespace was allowed before the last '/'
@chriseth chriseth requested review from ekpyron and axic September 10, 2018 10:30
@chriseth chriseth merged commit b9164ea into develop_v0425 Sep 10, 2018
@chriseth chriseth deleted the fixNewline_0425 branch September 27, 2018 14:23
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

Successfully merging this pull request may close these issues.

2 participants