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

[lex.ccon,lex.string] Remove redundant repetition of the grammar. #3844

Merged
merged 2 commits into from Mar 12, 2020

Conversation

jensmaurer
Copy link
Member

Also use the grammar non-terminals character-literal and
string-literal throughout the standard.

Fixes #3636.

Copy link
Member

@zygoloid zygoloid left a 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. :-(

source/compatibility.tex Outdated Show resolved Hide resolved
source/compatibility.tex Show resolved Hide resolved
source/lex.tex Outdated Show resolved Hide resolved
source/lex.tex Outdated Show resolved Hide resolved
source/lex.tex Outdated Show resolved Hide resolved
source/expressions.tex Outdated Show resolved Hide resolved
source/expressions.tex Outdated Show resolved Hide resolved
source/lex.tex Outdated Show resolved Hide resolved
source/templates.tex Outdated Show resolved Hide resolved
source/templates.tex Outdated Show resolved Hide resolved
Also use the grammar non-terminals character-literal and
string-literal throughout the standard.
@zygoloid zygoloid merged commit 9c30324 into cplusplus:master Mar 12, 2020
@jensmaurer jensmaurer deleted the c15 branch March 12, 2020 06:58
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.

[lex] Replace "character literal" with references to grammar term character-literal
2 participants