* src/lalr.h (LA): New macro to access to the variable LA.

* src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c:
* src/lalr.c: Adjust.
This commit is contained in:
Akim Demaille
2001-11-19 09:11:21 +00:00
parent e8ebe4b0c7
commit e2aabb3dc6
5 changed files with 23 additions and 15 deletions

View File

@@ -546,7 +546,7 @@ action_row (int state)
for (i = n - 1; i >= m; i--)
{
rule = -LAruleno[i];
wordp = LA + i * tokensetsize;
wordp = LA (i);
mask = 1;
/* and find each token which the rule finds acceptable