From: Paul Eggert Date: Tue, 27 Dec 2005 19:54:41 +0000 (+0000) Subject: * src/reader.c (grammar_midrule_action, grammar_symbol_append): X-Git-Tag: v2.3b~533 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/e3233bf6b6d787d3d7d69ed62c7eb435a9b15934?ds=sidebyside * src/reader.c (grammar_midrule_action, grammar_symbol_append): Remove unnecessary forward static decls. --- diff --git a/ChangeLog b/ChangeLog index 68f33170..06b62a82 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-12-27 Paul Eggert + + * src/reader.c (grammar_midrule_action, grammar_symbol_append): + Remove unnecessary forward static decls. + 2005-12-27 Akim Demaille * src/reader.c (grammar_current_rule_check): Also check that $$ diff --git a/src/reader.c b/src/reader.c index f02e132f..877e2c71 100644 --- a/src/reader.c +++ b/src/reader.c @@ -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;