bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: yacc.c: YY_LOCATION_PRINT: Fix


From: Akim Demaille
Subject: FYI: yacc.c: YY_LOCATION_PRINT: Fix
Date: Mon, 27 Sep 2004 09:48:08 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

2004-09-27  Akim Demaille  <address@hidden>

        * data/yacc.c (YY_LOCATION_PRINT): Fix its default declaration.

Index: data/yacc.c
===================================================================
RCS file: /cvsroot/bison/bison/data/yacc.c,v
retrieving revision 1.72
diff -u -u -r1.72 yacc.c
--- data/yacc.c 21 Sep 2004 06:59:19 -0000 1.72
+++ data/yacc.c 27 Sep 2004 07:46:34 -0000
@@ -527,9 +527,9 @@
      fprintf (File, "%d.%d-%d.%d",                     \
               (Loc).first_line, (Loc).first_column,    \
               (Loc).last_line,  (Loc).last_column)
+# else
+#  define YY_LOCATION_PRINT(File, Loc) ((void) 0)
 # endif
-#else
-# define YY_LOCATION_PRINT(File, Loc) ((void) 0)
 #endif
 
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]