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
[lex.ccon,lex.string] Remove redundant repetition of the grammar. #3844
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there's more we should be doing here. String literal concatenation is one mess, UDLs are another. Some of the references to "character literal" and "string literal" mean to include UDLs, others don't. Some references to "string literal" mean before concatenation, others mean afterwards. :-(
Also use the grammar non-terminals character-literal and string-literal throughout the standard.
Also use the grammar non-terminals character-literal and
string-literal throughout the standard.
Fixes #3636.