* 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

@@ -98,25 +98,14 @@
#include "state.h"
#include "complain.h"
#include "output.h"
#include "lalr.h"
extern void berror PARAMS((const char *));
extern char **tags;
extern short *user_toknums;
extern int tokensetsize;
extern int final_state;
extern core **state_table;
extern shifts **shift_table;
extern errs **err_table;
extern reductions **reduction_table;
extern short *accessing_symbol;
extern unsigned *LA;
extern short *LAruleno;
extern short *lookaheads;
extern char *consistent;
extern short *goto_map;
extern short *from_state;
extern short *to_state;
extern void reader_output_yylsp PARAMS ((FILE *));