bug-bison
[Top][All Lists]
Advanced

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

Re: Spurious warning with GLR/bison-1.875e


From: Paul Eggert
Subject: Re: Spurious warning with GLR/bison-1.875e
Date: Wed, 27 Oct 2004 15:20:55 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Thanks for reporting that.  I installed this fix:

2004-10-27  Paul Eggert  <address@hidden>

        * data/glr.c (yyloc_default): Remove; not used.
        Problem reported by Frank Heckenbach.

Index: data/glr.c
===================================================================
RCS file: /cvsroot/bison/bison/data/glr.c,v
retrieving revision 1.80
retrieving revision 1.82
diff -p -u -r1.80 -r1.82
--- data/glr.c  25 Oct 2004 10:37:35 -0000      1.80
+++ data/glr.c  27 Oct 2004 22:22:51 -0000      1.82
@@ -205,13 +205,12 @@ typedef struct YYLTYPE
 # define YYLTYPE_IS_TRIVIAL 1
 #endif
 
-/* Default (constant) values used for initialization for null
+/* Default (constant) value used for initialization for null
    right-hand sides.  Unlike the standard yacc.c template,
-   here we set the default values of $$ and $@@ to zeroed-out
-   values.  Since the default value of these quantities is undefined,
-   this behavior is technically correct. */
+   here we set the default value of $$ to a zeroed-out value.
+   Since the default value is undefined, this behavior is
+   technically correct. */
 static YYSTYPE yyval_default;
-static YYLTYPE yyloc_default;
 
 /* Copy the second part of user declarations.  */
 ]b4_post_prologue[




reply via email to

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