mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-20 01:33:03 +00:00
style: reorder and comment
* src/reader.h: here.
This commit is contained in:
@@ -35,7 +35,11 @@ typedef struct merger_list
|
|||||||
location type_declaration_loc;
|
location type_declaration_loc;
|
||||||
} merger_list;
|
} merger_list;
|
||||||
|
|
||||||
|
void free_merger_functions (void);
|
||||||
|
extern merger_list *merge_functions;
|
||||||
|
|
||||||
void grammar_start_symbol_set (symbol *sym, location loc);
|
void grammar_start_symbol_set (symbol *sym, location loc);
|
||||||
|
|
||||||
void grammar_current_rule_begin (symbol *lhs, location loc,
|
void grammar_current_rule_begin (symbol *lhs, location loc,
|
||||||
named_ref *lhs_named_ref);
|
named_ref *lhs_named_ref);
|
||||||
void grammar_current_rule_end (location loc);
|
void grammar_current_rule_end (location loc);
|
||||||
@@ -54,10 +58,9 @@ void grammar_current_rule_action_append (const char *action, location loc,
|
|||||||
named_ref *nref, uniqstr tag);
|
named_ref *nref, uniqstr tag);
|
||||||
/* Attach a PREDICATE to the current rule. */
|
/* Attach a PREDICATE to the current rule. */
|
||||||
void grammar_current_rule_predicate_append (const char *predicate, location loc);
|
void grammar_current_rule_predicate_append (const char *predicate, location loc);
|
||||||
void reader (const char *gram);
|
|
||||||
void free_merger_functions (void);
|
|
||||||
|
|
||||||
extern merger_list *merge_functions;
|
/* Read in the grammar specification. */
|
||||||
|
void reader (const char *gram);
|
||||||
|
|
||||||
/* Was %union seen? */
|
/* Was %union seen? */
|
||||||
extern bool union_seen;
|
extern bool union_seen;
|
||||||
|
|||||||
Reference in New Issue
Block a user