mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-20 01:33:03 +00:00
* src/reader.c (grammar_midrule_action, grammar_symbol_append):
Remove unnecessary forward static decls.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
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>
|
2005-12-27 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
* src/reader.c (grammar_current_rule_check): Also check that $$
|
* src/reader.c (grammar_current_rule_check): Also check that $$
|
||||||
|
|||||||
@@ -36,9 +36,6 @@
|
|||||||
#include "symlist.h"
|
#include "symlist.h"
|
||||||
#include "symtab.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 symbol_list *grammar = NULL;
|
||||||
static bool start_flag = false;
|
static bool start_flag = false;
|
||||||
merger_list *merge_functions;
|
merger_list *merge_functions;
|
||||||
@@ -168,7 +165,7 @@ grammar_symbol_append (symbol *sym, location loc)
|
|||||||
|
|
||||||
grammar_end = p;
|
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. */
|
part of it. */
|
||||||
if (sym)
|
if (sym)
|
||||||
++nritems;
|
++nritems;
|
||||||
|
|||||||
Reference in New Issue
Block a user