* src/reader.c (grammar_midrule_action, grammar_symbol_append):

Remove unnecessary forward static decls.
This commit is contained in:
Paul Eggert
2005-12-27 19:54:41 +00:00
parent 8f3596a633
commit e3233bf6b6
2 changed files with 7 additions and 5 deletions

View File

@@ -36,9 +36,6 @@
#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;
@@ -168,7 +165,7 @@ grammar_symbol_append (symbol *sym, location loc)
grammar_end = p;
/* 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;
@@ -247,7 +244,7 @@ grammar_rule_check (const symbol_list *r)
warn_at (r->location,
_("empty rule for typed nonterminal, and no action"));
}
/* Check that typed symbol values are used. */
{
symbol_list *l = r;