mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-18 14:21:36 +00:00
Also allow empty-parameter-list macros
This commit is contained in:
parent
c48b9dbf61
commit
0bd0a430d6
1 changed files with 2 additions and 0 deletions
2
ftepp.c
2
ftepp.c
|
@ -184,6 +184,8 @@ static bool ftepp_define_params(ftepp_t *ftepp, ppmacro *macro)
|
|||
ftepp_next(ftepp);
|
||||
if (!ftepp_skipspace(ftepp))
|
||||
return false;
|
||||
if (ftepp->token == ')')
|
||||
break;
|
||||
switch (ftepp->token) {
|
||||
case TOKEN_IDENT:
|
||||
case TOKEN_TYPENAME:
|
||||
|
|
Loading…
Reference in a new issue