1474 |
/* Make a dummy nonterminal, a gensym. */ |
/* Make a dummy nonterminal, a gensym. */ |
1475 |
bucket *sdummy = gensym (); |
bucket *sdummy = gensym (); |
1476 |
|
|
1477 |
/* Make a new rule, whose body is empty, |
/* Make a new rule, whose body is empty, before the |
1478 |
before the current one, so that the action |
current one, so that the action just read can |
1479 |
just read can belong to it. */ |
belong to it. */ |
1480 |
nrules++; |
nrules++; |
1481 |
nitems++; |
nitems++; |
1482 |
p = symbol_list_new (sdummy); |
p = symbol_list_new (sdummy); |
1483 |
|
/* Attach its lineno to that of the host rule. */ |
1484 |
|
p->line = crule->line; |
1485 |
if (crule1) |
if (crule1) |
1486 |
crule1->next = p; |
crule1->next = p; |
1487 |
else |
else |