]> git.saurik.com Git - bison.git/blobdiff - src/parse-gram.c
* data/yacc.c (yydestruct, yysymprint): Pacify GCC warnings for
[bison.git] / src / parse-gram.c
index ed1685b88a24fe9afefdbe55aadecd9ecec141e0..fb695f6441e0f5a19e103f3732848f7e8319c582 100644 (file)
@@ -236,7 +236,7 @@ typedef union {
   char *string;
   associativity assoc;
 } yystype;
-/* Line 272 of /home/cs/hilfingr/work/grammars/glr2/install/share/bison/yacc.c.  */
+/* Line 272 of /home/lrde/prof/akim/src/bison/data/yacc.c.  */
 #line 241 "parse-gram.c"
 # define YYSTYPE yystype
 # define YYSTYPE_IS_TRIVIAL 1
@@ -257,7 +257,7 @@ typedef struct yyltype
 /* Copy the second part of user declarations.  */
 
 
-/* Line 292 of /home/cs/hilfingr/work/grammars/glr2/install/share/bison/yacc.c.  */
+/* Line 292 of /home/lrde/prof/akim/src/bison/data/yacc.c.  */
 #line 262 "parse-gram.c"
 
 #if ! defined (yyoverflow) || YYERROR_VERBOSE
@@ -1520,7 +1520,7 @@ yyreduce:
 
     }
 
-/* Line 1040 of /home/cs/hilfingr/work/grammars/glr2/install/share/bison/yacc.c.  */
+/* Line 1040 of /home/lrde/prof/akim/src/bison/data/yacc.c.  */
 #line 1525 "parse-gram.c"
 \f
   yyvsp -= yylen;
@@ -1748,6 +1748,10 @@ static void
 yydestruct (int yytype,
            YYSTYPE yyvalue, YYLTYPE yylocation)
 {
+  /* Pacify ``unused variable'' warnings.  */
+  (void) yyvalue;
+  (void) yylocation;
+
   switch (yytype)
     {
       default:
@@ -1765,6 +1769,10 @@ static void
 yysymprint (FILE* yyout, int yytype,
            YYSTYPE yyvalue, YYLTYPE yylocation)
 {
+  /* Pacify ``unused variable'' warnings.  */
+  (void) yyvalue;
+  (void) yylocation;
+
   if (yytype < YYNTOKENS)
     {
       YYFPRINTF (yyout, "token %s (", yytname[yytype]);