27 |
|
|
28 |
/* comments for these variables are in gram.h */ |
/* comments for these variables are in gram.h */ |
29 |
|
|
30 |
int nitems; |
int nitems = 0; |
31 |
int nrules; |
int nrules = 0; |
32 |
int nsyms; |
int nsyms = 0; |
33 |
int ntokens; |
int ntokens = 0; |
34 |
int nvars; |
int nvars = 0; |
35 |
|
|
36 |
short *ritem = NULL; |
short *ritem = NULL; |
37 |
int nritems; |
int nritems = 0; |
38 |
|
|
39 |
rule_t *rules = NULL; |
rule_t *rules = NULL; |
40 |
|
|
41 |
struct bucket **symbols = NULL; |
struct bucket **symbols = NULL; |
42 |
short *token_translations = NULL; |
short *token_translations = NULL; |
43 |
|
|
44 |
int start_symbol; |
int start_symbol = 0; |
45 |
|
|
46 |
int max_user_token_number; |
int max_user_token_number = 256; |
47 |
|
|
48 |
int semantic_parser; |
int semantic_parser = 0; |
49 |
|
|
50 |
int pure_parser; |
int pure_parser = 0; |
51 |
|
|
52 |
int error_token_number; |
int error_token_number = 0; |
53 |
|
|
54 |
|
|
55 |
/*--------------------------------------. |
/*--------------------------------------. |