wpp: Allow fully variadic macros.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alex Henrie 2021-09-08 23:29:24 -06:00 committed by Alexandre Julliard
parent 1be6c7f8da
commit 1cad3c00fe
1 changed files with 1 additions and 0 deletions

View File

@ -327,6 +327,7 @@ allmargs: /* Empty */ { $$ = 0; macro_args = NULL; nmacro_args = 0; }
emargs : margs { $$ = $1; }
| margs ',' tELLIPSIS { nmacro_args *= -1; }
| tELLIPSIS { macro_args = NULL; nmacro_args = 0; }
;
margs : margs ',' tIDENT { $$ = add_new_marg($3); }