[pre] No names in the preprocessor#8136
Conversation
e86e370 to
402ae47
Compare
|
I'm not sure if this requires clarification -- e.g. in "the name of the macro", isn't it clear that the name is a macro name? @jensmaurer, any thoughts? |
|
[cpp.replace.general] p8 does define the term "macro name". Reading through the diff here, I think there are a few places that definitely benefit from replacing "name" with something else entirely or with "macro name". Others, such as "macro name of a macro", sound awfully redundant, and I think we want a larger rephrasing to warrant the departure from "identical phrasing in C" for those cases. Going through the diff one-by-one and marking those that seem redundant / need more rephrasing. |
The term "name" applies specifically to entities in phase 7 of translation. Macros have macro names, headers are parsed as *header-name*s, etc.
402ae47 to
ba25e78
Compare
|
I have reverted the changes that Jens requested. |
The term "name" applies specifically to entities in phase 7 of translation. Macros have macro names, headers are parsed as header-names, etc.
Specifically, names are introduced by declarations, [basic.pre]p5, and there are no declarations in the preprocessor.