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:
parent
1be6c7f8da
commit
1cad3c00fe
|
@ -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); }
|
||||
|
|
Loading…
Reference in New Issue