mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-27 22:22:17 +00:00
typedef is now a keyword
This commit is contained in:
parent
e7bf73455d
commit
23d16b303d
1 changed files with 2 additions and 1 deletions
3
lexer.c
3
lexer.c
|
@ -46,7 +46,8 @@ static size_t num_keywords_qc = sizeof(keywords_qc) / sizeof(keywords_qc[0]);
|
||||||
static const char *keywords_fg[] = {
|
static const char *keywords_fg[] = {
|
||||||
"switch", "case", "default",
|
"switch", "case", "default",
|
||||||
"struct", "union",
|
"struct", "union",
|
||||||
"break", "continue"
|
"break", "continue",
|
||||||
|
"typedef"
|
||||||
};
|
};
|
||||||
static size_t num_keywords_fg = sizeof(keywords_fg) / sizeof(keywords_fg[0]);
|
static size_t num_keywords_fg = sizeof(keywords_fg) / sizeof(keywords_fg[0]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue