1451 |
t = lex (); |
t = lex (); |
1452 |
} |
} |
1453 |
|
|
1454 |
/* Insert the initial rule: |
/* Insert the initial rule, which line is that of the first rule |
1455 |
|
(not that of the start symbol): |
1456 |
|
|
1457 |
axiom: %start EOF. */ |
axiom: %start EOF. */ |
1458 |
p = symbol_list_new (axiom); |
p = symbol_list_new (axiom); |
1459 |
|
p->line = grammar->line; |
1460 |
p->next = symbol_list_new (startval); |
p->next = symbol_list_new (startval); |
1461 |
p->next->next = symbol_list_new (eoftoken); |
p->next->next = symbol_list_new (eoftoken); |
1462 |
p->next->next->next = symbol_list_new (NULL); |
p->next->next->next = symbol_list_new (NULL); |