Also allow empty-parameter-list macros

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-11-16 20:41:20 +01:00
parent c48b9dbf61
commit 0bd0a430d6

View file

@ -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: