* src/lalr.h: New file.

Propagate its inclusion instead of prototypes and `extern'.
* src/lalr.c: Formatting changes, topological sorting etc.
This commit is contained in:
Akim Demaille
2000-10-02 07:56:58 +00:00
parent f2acea59d9
commit 720d742f8e
7 changed files with 708 additions and 682 deletions

View File

@@ -24,16 +24,11 @@
#include "files.h"
#include "gram.h"
#include "state.h"
#include "lalr.h"
extern char **tags;
extern int nstates;
extern short *accessing_symbol;
extern core **state_table;
extern shifts **shift_table;
extern errs **err_table;
extern reductions **reduction_table;
extern char *consistent;
extern char any_conflicts;
extern char *conflicts;
extern int final_state;