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
literal isn't \grammarterm'd #322
Comments
Richard had the idea that we resolve this problem by defining "literal" to refer to the grammar term literal, when it applies. |
unless the \grammarterm is intended. Fixes cplusplus#322.
I've had a look. It seems most mentions of "literal" in [lex] actually refer to a specific (and defined) kind of literal, e.g. "character literal" or "integer literal". There are a few cases where "literal" is used instead of the full phrase as a means of abbreviation. I'm preparing a patch that expands these. [expr.prim.literal] does use \grammarterm {literal}, which is good. |
unless the \grammarterm is intended. Fixes #322.
This issue was originally raised in the core reflector as "[c++std-core-25257] The definition of Literal is missing" on 12 May 2014 03:18, Saeed Amrollahi Boyouki. An e-mail thread ensued, and it was decided that some of this could be resolved by fixing references to literal, when used as a grammar term, editorially, and to open a core issue for what remains. Since there are 537 uses of literal in the spec, this is going to take a while... See branch "literal-fixes" for this ongoing effort.
The text was updated successfully, but these errors were encountered: