Module Name: src
Committed By: christos
Date: Thu Oct 29 21:11:58 UTC 2009
Modified Files:
src/external/bsd/byacc/dist: output.c
Log Message:
fix line accounting.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/byacc/dist/output.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/byacc/dist/output.c
diff -u src/external/bsd/byacc/dist/output.c:1.3 src/external/bsd/byacc/dist/output.c:1.4
--- src/external/bsd/byacc/dist/output.c:1.3 Thu Oct 29 17:03:59 2009
+++ src/external/bsd/byacc/dist/output.c Thu Oct 29 17:11:57 2009
@@ -1,10 +1,10 @@
-/* $NetBSD: output.c,v 1.3 2009/10/29 21:03:59 christos Exp $ */
+/* $NetBSD: output.c,v 1.4 2009/10/29 21:11:57 christos Exp $ */
/* Id: output.c,v 1.21 2009/10/27 10:55:05 tom Exp */
#include "defs.h"
#include <sys/cdefs.h>
-__RCSID("$NetBSD: output.c,v 1.3 2009/10/29 21:03:59 christos Exp $");
+__RCSID("$NetBSD: output.c,v 1.4 2009/10/29 21:11:57 christos Exp $");
static int nvectors;
static int nentries;
@@ -108,6 +108,7 @@
fprintf(code_file, "# define YYLEX yylex(YYLEX_PARAM)\n");
++outline;
fprintf(code_file, "#else\n");
+ ++outline;
if (pure_parser)
fprintf(code_file, "# define YYLEX yylex(&yylval, ");
else