X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=ftepp.c;h=87be73881c4ecbd10f0a29b562df00b1e4fada67;hp=af3e699d59a716c8c47dca049bc3ca74d345b97b;hb=c2b5a959615e1368b0ef99757b29fe7d715f734f;hpb=ef528d6710d597bad5462f4fbf1c5a6a54cb2a10 diff --git a/ftepp.c b/ftepp.c index af3e699..87be738 100644 --- a/ftepp.c +++ b/ftepp.c @@ -394,6 +394,7 @@ static bool ftepp_define_params(ftepp_t *ftepp, ppmacro *macro) return false; } } while (ftepp->token == ','); + if (ftepp->token != ')') { ftepp_error(ftepp, "expected closing paren after macro parameter list"); return false;