Commit 1cad3c00 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

wpp: Allow fully variadic macros.

parent 1be6c7f8
......@@ -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); }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment