From 1cad3c00fefa635a0e3b1df12aaa295007b43028 Mon Sep 17 00:00:00 2001 From: Alex Henrie Date: Wed, 8 Sep 2021 23:29:24 -0600 Subject: [PATCH] wpp: Allow fully variadic macros. Signed-off-by: Alex Henrie Signed-off-by: Alexandre Julliard --- libs/wpp/ppy.y | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/wpp/ppy.y b/libs/wpp/ppy.y index 5b7083b3813..0afc642d3e0 100644 --- a/libs/wpp/ppy.y +++ b/libs/wpp/ppy.y @@ -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); }