Skip to content

Commit

Permalink
enh(c): Added typeof and typeof_qual to the list of keywords (#4055)
Browse files Browse the repository at this point in the history
* Add C23's new typeof and typeof_unqual keywords.

* Update CHANGES.md for C23's new keywords.
  • Loading branch information
Melkor-1 authored May 23, 2024
1 parent e44a6a9 commit 5237004
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ CAVEATS / POTENTIALLY BREAKING CHANGES

Core Grammars:

- enc(c) added more C23 keywords [Melkor-1][]
- enh(json) added jsonc as an alias [BackupMiles][]
- enh(gml) updated to latest language version (GML v2024.2) [gnysek][]
- enh(c) added more C23 keywords and preprcoessor directives [Eisenwave][]
Expand Down Expand Up @@ -63,6 +64,7 @@ Themes:

- Added `1c-light` theme a like in the IDE 1C:Enterprise 8 (for 1c) [Vitaly Barilko][]

[Melkor-1]: https://github.com/Melkor-1
[PeteLomax]: https://github.com/petelomax
[gnysek]: https://github.com/gnysek
[Eisenwave]: https://github.com/Eisenwave
Expand Down
2 changes: 2 additions & 0 deletions src/languages/c.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ export default function(hljs) {
"restrict",
"return",
"sizeof",
"typeof",
"typeof_unqual",
"struct",
"switch",
"typedef",
Expand Down

0 comments on commit 5237004

Please sign in to comment.