projects
/
platform
/
upstream
/
bison.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa7e68c
)
(b4_symbol_actions): Don't assume %union was used.
author
Paul Eggert
<eggert@cs.ucla.edu>
Thu, 22 Jul 2004 14:39:03 +0000
(14:39 +0000)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Thu, 22 Jul 2004 14:39:03 +0000
(14:39 +0000)
data/c.m4
patch
|
blob
|
history
diff --git
a/data/c.m4
b/data/c.m4
index
a72f059
..
c651f62
100644
(file)
--- 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])