diff --git a/src/reader.h b/src/reader.h index 6b4f57ff..39ede8c3 100644 --- a/src/reader.h +++ b/src/reader.h @@ -35,7 +35,11 @@ typedef struct merger_list location type_declaration_loc; } merger_list; +void free_merger_functions (void); +extern merger_list *merge_functions; + void grammar_start_symbol_set (symbol *sym, location loc); + void grammar_current_rule_begin (symbol *lhs, location loc, named_ref *lhs_named_ref); 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); /* Attach a PREDICATE to the current rule. */ 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? */ extern bool union_seen;