mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-19 09:13:04 +00:00
* data/lalr1.cc: Move towards a more standard C++ coding style
for templates: Class < T > -> Class<T>.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2004-09-29 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
|
* data/lalr1.cc: Move towards a more standard C++ coding style
|
||||||
|
for templates: Class < T > -> Class<T>.
|
||||||
|
|
||||||
2004-09-29 Akim Demaille <akim@epita.fr>
|
2004-09-29 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
* data/lalr1.cc: Reinstall the former ctor, for sake of
|
* data/lalr1.cc: Reinstall the former ctor, for sake of
|
||||||
|
|||||||
@@ -927,7 +927,8 @@ yy::]b4_parser_class_name[::reduce_print_ (int yyrule)
|
|||||||
{
|
{
|
||||||
unsigned int yylno = rline_[yyrule];
|
unsigned int yylno = rline_[yyrule];
|
||||||
/* Print the symbols being reduced, and their result. */
|
/* Print the symbols being reduced, and their result. */
|
||||||
cdebug_ << "Reducing stack by rule " << n_ - 1 << " (line " << yylno << "), ";
|
cdebug_ << "Reducing stack by rule " << n_ - 1
|
||||||
|
<< " (line " << yylno << "), ";
|
||||||
for (]b4_int_type_for([b4_prhs])[ i = prhs_[n_];
|
for (]b4_int_type_for([b4_prhs])[ i = prhs_[n_];
|
||||||
0 <= rhs_[i]; ++i)
|
0 <= rhs_[i]; ++i)
|
||||||
cdebug_ << name_[rhs_[i]] << ' ';
|
cdebug_ << name_[rhs_[i]] << ' ';
|
||||||
|
|||||||
Reference in New Issue
Block a user