summaryrefslogtreecommitdiff
path: root/src/lalr.h
diff options
context:
space:
mode:
authorAkim Demaille <akim@epita.fr>2002-06-15 18:24:08 +0000
committerAkim Demaille <akim@epita.fr>2002-06-15 18:24:08 +0000
commit9801d40c506b718971aed52c44975c7951bcb3bc (patch)
tree869d38731ead5d6f6f28a38eba74ecc91ef65db3 /src/lalr.h
parentc02634922181a18cd6f2d430901a7747ea17b12b (diff)
downloadbison-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lalr.h b/src/lalr.h
index 60931052..ab1c8ba1 100644
--- a/src/lalr.h
+++ b/src/lalr.h
@@ -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. */