[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Remove useless class specification.
From: |
Akim Demaille |
Subject: |
[PATCH] Remove useless class specification. |
Date: |
Thu, 13 Nov 2008 05:36:55 -0000 |
* data/lalr1.cc (b4_symbol_constructor_specialization_): No need
to refer to the class name to use a type defined by the class for
arguments of member functions.
---
ChangeLog | 7 +++++++
data/lalr1.cc | 2 +-
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index fdc0d61..b3e5658 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2008-11-13 Akim Demaille <address@hidden>
+ Remove useless class specification.
+ * data/lalr1.cc (b4_symbol_constructor_specialization_): No need
+ to refer to the class name to use a type defined by the class for
+ arguments of member functions.
+
+2008-11-13 Akim Demaille <address@hidden>
+
Finer input type for yytranslate.
This patch is debatable: the tradition expects yylex to return an int
which happens to correspond to token_number (which is an enum). This
diff --git a/data/lalr1.cc b/data/lalr1.cc
index 6b0d9d9..95d9846 100644
--- a/data/lalr1.cc
+++ b/data/lalr1.cc
@@ -232,7 +232,7 @@ m4_define([b4_symbol_constructor_specialization_],
b4_parser_class_name::make_symbol
<b4_parser_class_name::token::b4_symbol([$1], [id])> (dnl
b4_args(b4_symbol_if([$1], [has_type],
[const b4_symbol([$1], [type])& v]),
- b4_locations_if([const b4_parser_class_name::location_type& l])));
+ b4_locations_if([const location_type& l])));
])])])
# b4_symbol_constructor_specializations
--
1.6.0.2.588.g3102
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] Remove useless class specification.,
Akim Demaille <=