Skip to content

[cpp.cond] Keywords are not identifiers while preprocessing#8518

Merged
tkoeppe merged 2 commits into
cplusplus:mainfrom
AlisdairM:keywords_are_not_prepocessing_tokens
Dec 13, 2025
Merged

[cpp.cond] Keywords are not identifiers while preprocessing#8518
tkoeppe merged 2 commits into
cplusplus:mainfrom
AlisdairM:keywords_are_not_prepocessing_tokens

Conversation

@AlisdairM

@AlisdairM AlisdairM commented Nov 14, 2025

Copy link
Copy Markdown
Contributor

Move seemingly normative reference to keywords in #if expressions into a note.

Comment thread source/preprocessor.tex Outdated
@AlisdairM
AlisdairM force-pushed the keywords_are_not_prepocessing_tokens branch from d43a454 to 1df1072 Compare November 17, 2025 08:07

@hubert-reinterpretcast hubert-reinterpretcast left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe that the exception should be delimited by commas of a parenthetical nature.

Comment thread source/preprocessor.tex Outdated
Comment thread source/preprocessor.tex Outdated
@jensmaurer jensmaurer added the changes requested Changes to the wording or approach have been requested and not yet applied. label Nov 17, 2025
@jensmaurer

Copy link
Copy Markdown
Member

I think I like the overall outcome here.

Co-authored-by: Hubert Tong <hubert.reinterpretcast@gmail.com>

@hubert-reinterpretcast hubert-reinterpretcast left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@jensmaurer jensmaurer removed the changes requested Changes to the wording or approach have been requested and not yet applied. label Dec 6, 2025
@tkoeppe
tkoeppe merged commit 99914bd into cplusplus:main Dec 13, 2025
2 checks passed
@AlisdairM
AlisdairM deleted the keywords_are_not_prepocessing_tokens branch December 14, 2025 00:44
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.

4 participants