enh(c) Update keyword list for C11/C18
See original GitHub issuePulling this out because we should eventually apply this to our C
grammar (removing the C++ keywords and types, etc).
The full list of keywords for C11/C18 is
auto if unsigned
break inline void
case int volatile
char long while
const register _Alignas
continue restrict _Alignof
default return _Atomic
do short _Bool
double signed _Complex
else sizeof _Generic
enum static _Imaginary
extern struct _Noreturn
float switch _Static_assert
for typedef _Thread_local
goto union
_Originally posted by @ztane in https://github.com/highlightjs/highlight.js/issues/2973#issuecomment-779284055_
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
highlight.js
enh (c) Update keyword list for C11/C18 (#3010) Josh Goebel; enh(parser) highlight object properties (#3072) Josh Goebel; enh(javascript/typescript) highlight ...
Read more >Keyword — Elixir v1.12.3 - HexDocs
A keyword list is a list that consists exclusively of two-element tuples. The first element of these tuples is known as the key,...
Read more >269 contributors - GitHub
... enh(c) Update keyword list for C11/C18 (#3010) Josh Goebel; enh(parser) highlight object properties (#3072) Josh Goebel; enh(javascript/typescript) ...
Read more >Update Keyword - Ads API - Google Developers
import java.io.FileNotFoundException; import java.io.IOException; /** * Updates a keyword ({@code AdGroupCriterion}) in an ad group. To get keywords, run
Read more >FAQs Instructions - ScholarOne Ideas
How do I make a suggestion for an improvement or an enhancement to ScholarOne ... How do I update keywords and prepare a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
No namespaces, no.
And that
begin
rule is pure C++, not C.They’re types, yes, but they’re also keywords (unlike e.g.
bool
, which in C is an alias for_Bool
, but only if thestdbool.h
header is included — otherwise it’s just any old identifier). https://en.cppreference.com/w/c/keyword is a good reference.(Apologies for the lack of activity, I’m still snowed under with two other projects that unfortunately take priority and take up all my nominal “free time”.)