Alex Henrie : wpp: Allow fully variadic macros.

Alexandre Julliard julliard at winehq.org
Thu Sep 9 15:42:31 CDT 2021


Module: wine
Branch: master
Commit: 1cad3c00fefa635a0e3b1df12aaa295007b43028
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=1cad3c00fefa635a0e3b1df12aaa295007b43028

Author: Alex Henrie <alexhenrie24 at gmail.com>
Date:   Wed Sep  8 23:29:24 2021 -0600

wpp: Allow fully variadic macros.

Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at 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); }




More information about the wine-cvs mailing list