]> git.saurik.com Git - bison.git/commitdiff
(yy::]b4_parser_class_name[::parse): yylineno -> yylno.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 25 Feb 2003 07:57:09 +0000 (07:57 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 25 Feb 2003 07:57:09 +0000 (07:57 +0000)
data/lalr1.cc

index 2ef527b6e0547391ad94693c2d14f2de9942673f..1d1b9cff16912aeb3756da36ab17050f0ec8cd06 100644 (file)
@@ -432,9 +432,9 @@ yy::]b4_parser_class_name[::parse ()
       // Short files will use "unsigned char" for line numbers,
       // in which case they will be output as character litterals
       // by "<<".
-      unsigned yylineno = rline_[n_];
+      unsigned yylno = rline_[n_];
       YYCDEBUG << "Reducing via rule " << n_ - 1
-               << " (line " << yylineno << "), ";
+               << " (line " << yylno << "), ";
       for (]b4_int_type_for([b4_prhs])[ i = prhs_[n_];
           0 <= rhs_[i]; ++i)
        YYCDEBUG << name_[rhs_[i]] << ' ';