Remove unnecessary forward static decls.
+2005-12-27 Paul Eggert <eggert@cs.ucla.edu>
+
+ * src/reader.c (grammar_midrule_action, grammar_symbol_append):
+ Remove unnecessary forward static decls.
+
2005-12-27 Akim Demaille <akim@epita.fr>
* src/reader.c (grammar_current_rule_check): Also check that $$
2005-12-27 Akim Demaille <akim@epita.fr>
* src/reader.c (grammar_current_rule_check): Also check that $$
#include "symlist.h"
#include "symtab.h"
#include "symlist.h"
#include "symtab.h"
-static void grammar_midrule_action (void);
-static void grammar_symbol_append (symbol *sym, location loc);
-
static symbol_list *grammar = NULL;
static bool start_flag = false;
merger_list *merge_functions;
static symbol_list *grammar = NULL;
static bool start_flag = false;
merger_list *merge_functions;
- /* SYM = 0 stands for an end of rule, it is not an actual
+ /* A null SYM stands for an end of rule; it is not an actual
part of it. */
if (sym)
++nritems;
part of it. */
if (sym)
++nritems;
warn_at (r->location,
_("empty rule for typed nonterminal, and no action"));
}
warn_at (r->location,
_("empty rule for typed nonterminal, and no action"));
}
/* Check that typed symbol values are used. */
{
symbol_list *l = r;
/* Check that typed symbol values are used. */
{
symbol_list *l = r;