X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/88015bf06b342b34b0b4de833af3ba40acfd2f74..637fa3f83edca74df6a9d834ffe7bfd4d7468793:/src/scan-skel.l diff --git a/src/scan-skel.l b/src/scan-skel.l index fd9bd4c6..af5226c9 100644 --- a/src/scan-skel.l +++ b/src/scan-skel.l @@ -1,6 +1,6 @@ /* Scan Bison Skeletons. -*- C -*- - Copyright (C) 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. This file is part of Bison, the GNU Compiler Compiler. @@ -34,7 +34,7 @@ int skel_lex (void); #define QPUTS(String) \ - fputs (quotearg_style (c_quoting_style, (String)), yyout); + fputs (quotearg_style (c_quoting_style, (String)), yyout) %} %% @@ -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);