Alex Henrie : wpp: Allow fully variadic macros.
Module: wine Branch: master Commit: 1cad3c00fefa635a0e3b1df12aaa295007b43028 URL: https://source.winehq.org/git/wine.git/?a=commit;h=1cad3c00fefa635a0e3b1df12... Author: Alex Henrie <alexhenrie24(a)gmail.com> Date: Wed Sep 8 23:29:24 2021 -0600 wpp: Allow fully variadic macros. Signed-off-by: Alex Henrie <alexhenrie24(a)gmail.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- 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); }
participants (1)
-
Alexandre Julliard