mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-31 12:00:38 +00:00
Fix correction of parsiong of multiple variables: parse past the comma
This commit is contained in:
parent
99bab76006
commit
198e35a823
1 changed files with 4 additions and 0 deletions
4
parser.c
4
parser.c
|
@ -2108,6 +2108,10 @@ nextvar:
|
||||||
|
|
||||||
if (parser->tok == ',') {
|
if (parser->tok == ',') {
|
||||||
/* another var */
|
/* another var */
|
||||||
|
if (!parser_next(parser)) {
|
||||||
|
ast_delete(typevar);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue