style: reorder and comment

* src/reader.h: here.
This commit is contained in:
Akim Demaille
2020-06-20 07:47:16 +02:00
parent 647453a614
commit 843f99886c

View File

@@ -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;