unused variables.
* src/output.c (merger_output): static.
+2002-06-28 Akim Demaille <akim@epita.fr>
+
+ * data/yacc.c (yydestruct, yysymprint): Pacify GCC warnings for
+ unused variables.
+ * src/output.c (merger_output): static.
+
2002-06-28 Akim Demaille <akim@epita.fr>
* src/reader.h: s/grammer_current_rule_merge_set/grammar_.../.
* src/conflicts.c (conflicts_total_count): `i' is unsigned, to
pacify GCC.
* src/output.c (save_row): Initialize all the variables to pacify GCC.
- (merger_output): static.
2002-06-27 Paul Hilfinger <Hilfinger@CS.Berkeley.EDU>
yydestruct (int yytype,
YYSTYPE yyvalue[]b4_location_if([, YYLTYPE yylocation]))
{
+ /* Pacify ``unused variable'' warnings. */
+ (void) yyvalue;
+b4_location_if([ (void) yylocation;
+])dnl
+
switch (yytype)
{
m4_map([b4_symbol_actions], m4_defn([b4_symbol_destructors]))dnl
yysymprint (FILE* yyout, int yytype,
YYSTYPE yyvalue[]b4_location_if([, YYLTYPE yylocation]))
{
+ /* Pacify ``unused variable'' warnings. */
+ (void) yyvalue;
+b4_location_if([ (void) yylocation;
+])dnl
+
if (yytype < YYNTOKENS)
{
YYFPRINTF (yyout, "token %s (", yytname[[yytype]]);
| Output the merge functions to OUT. |
`--------------------------------------*/
-void
+static void
merger_output (FILE *out)
{
int n;
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
/* 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
}
-/* 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;
yydestruct (int yytype,
YYSTYPE yyvalue, YYLTYPE yylocation)
{
+ /* Pacify ``unused variable'' warnings. */
+ (void) yyvalue;
+ (void) yylocation;
+
switch (yytype)
{
default:
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]);
char *string;
associativity assoc;
} yystype;
-/* Line 1343 of /home/cs/hilfingr/work/grammars/glr2/install/share/bison/yacc.c. */
+/* Line 1353 of /home/lrde/prof/akim/src/bison/data/yacc.c. */
#line 116 "y.tab.h"
# define YYSTYPE yystype
#endif