348 |
/* and record this rule as the rule to use if that |
/* and record this rule as the rule to use if that |
349 |
token follows. */ |
token follows. */ |
350 |
if (bitset_test (LA[state->lookaheadsp + i], j)) |
if (bitset_test (LA[state->lookaheadsp + i], j)) |
351 |
actrow[j] = -LAruleno[state->lookaheadsp + i]; |
actrow[j] = -LArule[state->lookaheadsp + i]->number; |
352 |
} |
} |
353 |
|
|
354 |
/* Now see which tokens are allowed for shifts in this state. For |
/* Now see which tokens are allowed for shifts in this state. For |
395 |
for (i = 0; i < state->nlookaheads; i++) |
for (i = 0; i < state->nlookaheads; i++) |
396 |
{ |
{ |
397 |
int count = 0; |
int count = 0; |
398 |
int rule = -LAruleno[state->lookaheadsp + i]; |
int rule = -LArule[state->lookaheadsp + i]->number; |
399 |
int j; |
int j; |
400 |
|
|
401 |
for (j = 0; j < ntokens; j++) |
for (j = 0; j < ntokens; j++) |
918 |
|
|
919 |
token_actions (); |
token_actions (); |
920 |
bitsetv_free (LA); |
bitsetv_free (LA); |
921 |
XFREE (LAruleno); |
free (LArule); |
922 |
|
|
923 |
goto_actions (); |
goto_actions (); |
924 |
XFREE (goto_map + ntokens); |
XFREE (goto_map + ntokens); |