style: remove useless declarations

* src/reader.h: Don't duplicate what parse-gram.h already exposes.
* src/lr0.h: Remove useless include.
This commit is contained in:
Akim Demaille
2020-02-19 19:01:14 +01:00
parent aab3feb5a1
commit b493c173c9
2 changed files with 0 additions and 8 deletions

View File

@@ -21,8 +21,6 @@
#ifndef LR0_H_ #ifndef LR0_H_
# define LR0_H_ # define LR0_H_
# include "state.h"
void generate_states (void); void generate_states (void);
#endif /* !LR0_H_ */ #endif /* !LR0_H_ */

View File

@@ -35,12 +35,6 @@ typedef struct merger_list
location type_declaration_loc; location type_declaration_loc;
} merger_list; } merger_list;
/* From the parser. */
extern int gram_debug;
int gram_parse (void);
/* From reader.c. */
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);