[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Use b4_symbol_case_.
From: |
Akim Demaille |
Subject: |
[PATCH] Use b4_symbol_case_. |
Date: |
Fri, 28 Nov 2008 21:26:09 +0100 |
* data/lalr1.cc, data/bison.m4 (b4_symbol_action): Use
b4_symbol_case_.
---
ChangeLog | 6 ++++++
data/bison.m4 | 2 +-
data/lalr1.cc | 2 +-
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 7b1fed0..1a6ccea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2008-12-01 Akim Demaille <address@hidden>
+ Use b4_symbol_case_.
+ * data/lalr1.cc, data/bison.m4 (b4_symbol_action): Use
+ b4_symbol_case_.
+
+2008-12-01 Akim Demaille <address@hidden>
+
Move b4_symbol based macro to bison.m4.
* data/lalr1.cc (b4_symbol_, b4_symbol, b4_symbol_if)
(b4_symbol_action, b4_symbol_destructor, b4_symbol_printer)
diff --git a/data/bison.m4 b/data/bison.m4
index 36b7da2..d8b8539 100644
--- a/data/bison.m4
+++ b/data/bison.m4
@@ -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(address@hidden@], address@hidden@])
diff --git a/data/lalr1.cc b/data/lalr1.cc
index 6c9927d..f19df60 100644
--- a/data/lalr1.cc
+++ b/data/lalr1.cc
@@ -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(address@hidden@], address@hidden@])
--
1.6.0.4.790.gaa14a
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] Use b4_symbol_case_.,
Akim Demaille <=