]> git.saurik.com Git - bison.git/commitdiff
("@oline@"): Output lineno+1, not lineno.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 3 Jan 2003 14:28:35 +0000 (14:28 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 3 Jan 2003 14:28:35 +0000 (14:28 +0000)
src/scan-skel.l

index fd9bd4c6fd93e601a6016ad867cb505de944beab..03577b5876b80240cf439c49862c7dce7c6e361a 100644 (file)
@@ -69,7 +69,7 @@ int skel_lex (void);
 "@{"      fputc ('[', yyout);
 "@}"      fputc (']', yyout);
 
-"@oline@"  fprintf (yyout, "%d", lineno);
+"@oline@"  fprintf (yyout, "%d", lineno + 1);
 "@ofile@"  QPUTS (outname);
 "@output_parser_name@" QPUTS (parser_file_name);
 "@output_header_name@"  QPUTS (spec_defines_file);