mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-22 02:33:03 +00:00
* data/lalr1.cc: Reinstall the former ctor, for sake of
compatibility, but warn it will be removed. Move towards a more standard C++ coding style (i.e., type *var -> type* var).
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
2004-09-29 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
|
* data/lalr1.cc: Reinstall the former ctor, for sake of
|
||||||
|
compatibility, but warn it will be removed.
|
||||||
|
Move towards a more standard C++ coding style (i.e., type *var ->
|
||||||
|
type* var).
|
||||||
|
|
||||||
2004-09-27 Paul Eggert <eggert@cs.ucla.edu>
|
2004-09-27 Paul Eggert <eggert@cs.ucla.edu>
|
||||||
|
|
||||||
* src/parse-gram.y (add_param): Rewrite to avoid strchr,
|
* src/parse-gram.y (add_param): Rewrite to avoid strchr,
|
||||||
@@ -10,7 +17,7 @@
|
|||||||
2004-09-27 Akim Demaille <akim@epita.fr>
|
2004-09-27 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
* data/lalr1.cc (b4_parse_param_decl_1): New.
|
* data/lalr1.cc (b4_parse_param_decl_1): New.
|
||||||
(b4_parse_param_decl): Use it to have different names bw attribute
|
(b4_parse_param_decl): Use it to have different names between attribute
|
||||||
and argument names.
|
and argument names.
|
||||||
(b4_cc_constructor_call): Likewise.
|
(b4_cc_constructor_call): Likewise.
|
||||||
|
|
||||||
|
|||||||
@@ -233,6 +233,17 @@ namespace yy
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
]b4_parser_class_name[ (bool debug,
|
||||||
|
LocationType][]b4_param[]b4_parse_param_decl[) :
|
||||||
|
]b4_constructor[][debug_ (debug),
|
||||||
|
cdebug_ (std::cerr)]b4_parse_param_cons[
|
||||||
|
{
|
||||||
|
cdebug_ << __FILE__ << ':' << __LINE__
|
||||||
|
<< ": this constructor is provided by backward compatibility"
|
||||||
|
<< ", but will be removed in the near future."
|
||||||
|
<< std::endl;
|
||||||
|
}
|
||||||
|
|
||||||
virtual ~]b4_parser_class_name[ ()
|
virtual ~]b4_parser_class_name[ ()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user