From c1e6c88ca353012a086858dc83d0a3c981681d14 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Thu, 28 Aug 2008 11:50:14 +0200 Subject: [PATCH] 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. --- ChangeLog | 7 +++++++ data/lalr1.cc | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fdc0d613..b3e5658c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-11-13 Akim Demaille + + 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 Finer input type for yytranslate. diff --git a/data/lalr1.cc b/data/lalr1.cc index 6b0d9d9f..95d98460 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 (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 -- 2.45.2