From: Paul Eggert Date: Fri, 3 Jan 2003 14:28:35 +0000 (+0000) Subject: ("@oline@"): Output lineno+1, not lineno. X-Git-Tag: BISON-2_0~450 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b14ec5333b8f417f752fc1ac3ebcc004aa61d973;p=platform%2Fupstream%2Fbison.git ("@oline@"): Output lineno+1, not lineno. --- diff --git a/src/scan-skel.l b/src/scan-skel.l index fd9bd4c..03577b5 100644 --- a/src/scan-skel.l +++ b/src/scan-skel.l @@ -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);