-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Add C23 keywords and types #3836
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CHANGES.md is out of date.
CHANGES.md
Outdated
@@ -34,6 +34,7 @@ Core Grammars: | |||
- fix(haskell) do not treat double dashes inside infix operators as comments [Zlondrej][] | |||
- enh(rust) added `eprintln!` macro [qoheniac][] | |||
- enh(leaf) update syntax to 4.0 [Samuel Bishop][] | |||
- enh(c) added more C23 keywords and preprcoessor directives [Eisenwave][] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You also need to add the link on lines 44-53.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good except for changelog link!
You can merge or rebase on latest to get newest changelog. |
Build Size ReportChanges to minified artifacts in 5 files changedTotal change +111 B View Changes
|
Changes
This PR adds a few keywords that have been introduces in C23. Firstly, C now also has
constexpr
and the preprocessor got#elifdef
and#elifndef
. See https://en.cppreference.com/w/c/23.Secondly, there are numerous extended floating point types (not yet documented on cppreference). See N3096 H.5.1 Keywords.
Checklist
CHANGES.md