* data/lalr1.cc: Move towards a more standard C++ coding style

for templates: Class < T > -> Class<T>.
This commit is contained in:
Akim Demaille
2004-09-29 12:49:50 +00:00
parent b203fc2c07
commit f85a5e6f4b
2 changed files with 21 additions and 15 deletions

View File

@@ -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

View File

@@ -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]] << ' ';