Use b4_symbol_case_.

* data/lalr1.cc, data/bison.m4 (b4_symbol_action): Use
	b4_symbol_case_.
This commit is contained in:
Akim Demaille
2008-11-28 21:26:09 +01:00
parent cf6fb2226d
commit fb7c5b1f23
3 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
2008-12-01 Akim Demaille <demaille@gostai.com>
Use b4_symbol_case_.
* data/lalr1.cc, data/bison.m4 (b4_symbol_action): Use
b4_symbol_case_.
2008-12-01 Akim Demaille <demaille@gostai.com>
Move b4_symbol based macro to bison.m4.

View File

@@ -384,7 +384,7 @@ m4_define([b4_symbol_action],
b4_symbol_if([$1], [has_type],
[b4_symbol([$1], [type])]))])dnl
m4_pushdef([b4_at_dollar], [(*yylocationp)])dnl
case $1: // b4_symbol([$1], [tag])
b4_symbol_case_([$1])
b4_syncline([b4_symbol([$1], [$2_line])], ["b4_symbol([$1], [$2_file])"])
b4_symbol([$1], [$2])
b4_syncline([@oline@], [@ofile@])

View File

@@ -132,7 +132,7 @@ m4_define([b4_symbol_action],
b4_symbol_if([$1], [has_type],
[b4_symbol([$1], [type])]))])dnl
m4_pushdef([b4_at_dollar], [yysym.location])dnl
case $1: // b4_symbol([$1], [tag])
b4_symbol_case_([$1])
b4_syncline([b4_symbol([$1], [$2_line])], ["b4_symbol([$1], [$2_file])"])
b4_symbol([$1], [$2])
b4_syncline([@oline@], [@ofile@])