---
Included for reference.
Line numbers in yacc.c were offset by 2 in various places, too. I’ve
omitted those hunks as uninteresting.
Thanks for making Bison what it is. I look forward to your thoughts.
Regards,
Jonathan
src/parse-gram.c | 450 +++++++++++++++++++++++++++---------------------------
src/parse-gram.h | 12 +-
2 files changed, 231 insertions(+), 231 deletions(-)
diff --git a/src/parse-gram.c b/src/parse-gram.c
index 4b6d559..0f509e6 100644
--- a/src/parse-gram.c
+++ b/src/parse-gram.c
@@ -1,4 +1,4 @@
-/* A Bison parser, made by GNU Bison 2.4.434-7439c. */
+/* A Bison parser, made by GNU Bison 2.4.444-c3a56. */
/* Implementation for Bison's Yacc-like parsers in C
@@ -45,7 +45,7 @@
#define YYBISON 1
/* Bison version. */
-#define YYBISON_VERSION "2.4.434-7439c"
+#define YYBISON_VERSION "2.4.444-c3a56"
/* Skeleton name. */
#define YYSKELETON_NAME "yacc.c"
@@ -417,7 +417,7 @@ typedef short int yytype_int16;
#define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
#ifndef YY_
-# if YYENABLE_NLS
+# if defined YYENABLE_NLS && YYENABLE_NLS
# if ENABLE_NLS
# include <libintl.h> /* INFRINGES ON USER NAME SPACE */
# define YY_(msgid) dgettext ("bison-runtime", msgid)
@@ -944,7 +944,7 @@ while (YYID (0))
we won't break user code: when these are the locations we know. */
#ifndef YY_LOCATION_PRINT
-# if YYLTYPE_IS_TRIVIAL
+# if defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL
# define YY_LOCATION_PRINT(File, Loc) \
fprintf (File, "%d.%d-%d.%d", \
(Loc).first_line, (Loc).first_column, \
@@ -1729,14 +1729,14 @@ YYLTYPE yylloc;
yyvsp = yyvs;
yylsp = yyls;
-#if YYLTYPE_IS_TRIVIAL
+#if defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL
/* Initialize the default location before parsing starts. */
yylloc.first_line = yylloc.last_line = 1;
yylloc.first_column = yylloc.last_column = 1;
#endif
/* User initialization code. */
-/* Line 1200 of yacc.c */
+/* Line 1202 of yacc.c */
#line 80 "src/parse-gram.y"
{
/* Bison's grammar can initial empty locations, hence a default
diff --git a/src/parse-gram.h b/src/parse-gram.h
index 894b5dd..fcf3255 100644
--- a/src/parse-gram.h
+++ b/src/parse-gram.h
@@ -1,4 +1,4 @@
-/* A Bison parser, made by GNU Bison 2.4.434-7439c. */
+/* A Bison parser, made by GNU Bison 2.4.444-c3a56. */
/* Interface for Bison's Yacc-like parsers in C
--
1.6.5.4