380 |
for (j = 0; j < ntokens; j++) |
for (j = 0; j < ntokens; j++) |
381 |
/* and record this rule as the rule to use if that |
/* and record this rule as the rule to use if that |
382 |
token follows. */ |
token follows. */ |
383 |
if (bitset_test (LA[state->lookaheadsp + i], j)) |
if (bitset_test (state->lookaheads[i], j)) |
384 |
actrow[j] = -LArule[state->lookaheadsp + i]->number; |
actrow[j] = -state->lookaheads_rule[i]->number; |
385 |
} |
} |
386 |
|
|
387 |
/* Now see which tokens are allowed for shifts in this state. For |
/* Now see which tokens are allowed for shifts in this state. For |
428 |
for (i = 0; i < state->nlookaheads; i++) |
for (i = 0; i < state->nlookaheads; i++) |
429 |
{ |
{ |
430 |
int count = 0; |
int count = 0; |
431 |
int rule = -LArule[state->lookaheadsp + i]->number; |
int rule = -state->lookaheads_rule[i]->number; |
432 |
int j; |
int j; |
433 |
|
|
434 |
for (j = 0; j < ntokens; j++) |
for (j = 0; j < ntokens; j++) |