You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
748 B

Index: pars/pars0grm.c
--- pars/pars0grm.c.orig 2010-08-03 01:20:50.000000000 +0200
+++ pars/pars0grm.c 2010-08-03 09:41:56.000000000 +0200
@@ -372,8 +372,8 @@
#define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
#ifndef YY_
-# if YYENABLE_NLS
-# if ENABLE_NLS
+# if defined(YYENABLE_NLS)
+# if defined(ENABLE_NLS)
# include <libintl.h> /* INFRINGES ON USER NAME SPACE */
# define YY_(msgid) dgettext ("bison-runtime", msgid)
# endif
@@ -1217,7 +1217,7 @@
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)
# define YY_LOCATION_PRINT(File, Loc) \
fprintf (File, "%d.%d-%d.%d", \
(Loc).first_line, (Loc).first_column, \