From 60c8294801d179c1b038f1be3e45c8d5935c5240 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 22 Jul 2004 14:39:03 +0000 Subject: [PATCH] (b4_symbol_actions): Don't assume %union was used. --- data/c.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/c.m4 b/data/c.m4 index a72f059a..c651f62c 100644 --- a/data/c.m4 +++ b/data/c.m4 @@ -327,7 +327,8 @@ m4_define([b4_syncline], # SYMBOL-ACTION, SYMBOL-TYPENAME) # ------------------------------------------------- m4_define([b4_symbol_actions], -[m4_pushdef([b4_dollar_dollar], [yyvaluep->$6])dnl +[m4_pushdef([b4_dollar_dollar], + [m4_ifval([$6], [(yyvaluep->$6)], [(*yyvaluep)])])dnl m4_pushdef([b4_at_dollar], [(*yylocationp)])dnl case $4: /* $3 */ b4_syncline([$2], [$1]) -- 2.45.2