From aa122fd7a025d72aafbdea3b97fc6d6870d9f103 Mon Sep 17 00:00:00 2001 From: Stefano Sanfilippo Date: Mon, 24 Nov 2014 23:53:26 +0100 Subject: [PATCH] Add auxiliary macro _() --- main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.c b/main.c index 0b0bdc1..461e0b9 100644 --- a/main.c +++ b/main.c @@ -12,6 +12,8 @@ void yyerror(const char *message) { exit(1); } +#define _(...) emit(__VA_ARGS__, NULL); + void emit(const char *text, ...) { va_list args; va_start(args, text);