]> git.saurik.com Git - bison.git/blobdiff - src/scan-skel.l
* doc/bison.texinfo (Debugging): Split into...
[bison.git] / src / scan-skel.l
index e7eeaa568ee24a142ef237df84dee97889075748..be336079bb91df718c6dd386eb9ed0d609db4b65 100644 (file)
@@ -41,7 +41,7 @@ static char *yyoutname = NULL;
 "@<:@" fputc ('[', yyout);
 "@:>@" fputc (']', yyout);
 
-"__oline__"      fprintf (yyout, "%d", yylineno);
+"__oline__"      fprintf (yyout, "%d", yylineno+1);
 "__ofile__"      fprintf (yyout, "%s", yyoutname);
 [^@_\n]+         ECHO;
 \n+              yylineno += yyleng; ECHO;