diff options
author | Akim Demaille <akim@epita.fr> | 2002-06-15 18:24:08 +0000 |
---|---|---|
committer | Akim Demaille <akim@epita.fr> | 2002-06-15 18:24:08 +0000 |
commit | 9801d40c506b718971aed52c44975c7951bcb3bc (patch) | |
tree | 869d38731ead5d6f6f28a38eba74ecc91ef65db3 /src/lalr.h | |
parent | c02634922181a18cd6f2d430901a7747ea17b12b (diff) | |
download | bison-9801d40c506b718971aed52c44975c7951bcb3bc.tar.gz |
* src/conflicts.c (log_resolution): Accept the rule involved in
the sr conflicts instead of the lookahead number that points to
that rule.
(flush_reduce): Accept the current lookahead vector as argument,
instead of the index in LA.
(resolve_sr_conflict): Accept the current number of lookahead
bitset to consider for the STATE, instead of the index in LA.
(set_conflicts): Adjust.
* src/lalr.c, src/lalr.h, src/state.h: Comment changes.
Diffstat (limited to 'src/lalr.h')
-rw-r--r-- | src/lalr.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -63,7 +63,7 @@ extern short *to_state; extern rule_t **LArule; -/* LA is a lr by ntokens matrix of bits. LA[l, i] is 1 if the rule +/* LA is a LR by NTOKENS matrix of bits. LA[l, i] is 1 if the rule LAruleno[l] is applicable in the appropriate state when the next token is symbol i. If LA[l, i] and LA[l, j] are both 1 for i != j, it is a conflict. */ |