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

c++ grammar has no reflection of iso646.h #6

Open
nickhuang99 opened this issue Nov 27, 2021 · 0 comments
Open

c++ grammar has no reflection of iso646.h #6

nickhuang99 opened this issue Nov 27, 2021 · 0 comments

Comments

@nickhuang99
Copy link

In preprocessing-op-or-punc, and, and_eq, bitand... are defined as keywords. However, logical-and-expression doesn't reflect this keyword and. Neither are other keywords. This grammar is actually inherited from C programming specifiction. Particularly in header <iso646.h>, these are "Alternative Spellings". I wonder if C++ grammar should specifically add a rule about this, or do we expect C++ grammar to be built upon C-grammar?

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

No branches or pull requests

1 participant