mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-18 22:31:36 +00:00
'case' and 'default' are now keywords too, not just switch
This commit is contained in:
parent
06ba28f2a0
commit
63969180cf
1 changed files with 1 additions and 1 deletions
2
lexer.c
2
lexer.c
|
@ -23,7 +23,7 @@ static size_t num_keywords_qc = sizeof(keywords_qc) / sizeof(keywords_qc[0]);
|
|||
/* For fte/gmgqcc */
|
||||
static const char *keywords_fg[] = {
|
||||
"var",
|
||||
"switch",
|
||||
"switch", "case", "default",
|
||||
"struct", "union",
|
||||
"break", "continue"
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue