X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/904347582878e5b1e4026965789113a88f5459fd..e89a22bfab22e4d2ee73be49dcb66b51f8d0e892:/src/lalr.h diff --git a/src/lalr.h b/src/lalr.h index 00137154..55e01d8f 100644 --- a/src/lalr.h +++ b/src/lalr.h @@ -66,6 +66,7 @@ extern short *LAruleno; it is a conflict. */ extern unsigned *LA; +#define LA(Rule) (LA + (Rule) * tokensetsize) /* A structure decorating a state, with additional information. */ @@ -77,8 +78,9 @@ typedef struct state_s /* Its accessing symbol. */ short accessing_symbol; - shifts *shift_table; - reductions *reduction_table; + shifts *shifts; + reductions *reductions; + errs *errs; /* Nonzero if no lookahead is needed to decide what to do in state S. */