422 |
rules[ruleno].lhs = p->sym; |
rules[ruleno].lhs = p->sym; |
423 |
rules[ruleno].rhs = ritem + itemno; |
rules[ruleno].rhs = ritem + itemno; |
424 |
rules[ruleno].location = p->location; |
rules[ruleno].location = p->location; |
425 |
rules[ruleno].useful = TRUE; |
rules[ruleno].useful = true; |
426 |
rules[ruleno].action = p->action; |
rules[ruleno].action = p->action; |
427 |
rules[ruleno].action_location = p->action_location; |
rules[ruleno].action_location = p->action_location; |
428 |
rules[ruleno].dprec = p->dprec; |
rules[ruleno].dprec = p->dprec; |
507 |
|
|
508 |
/* If something went wrong during the parsing, don't try to |
/* If something went wrong during the parsing, don't try to |
509 |
continue. */ |
continue. */ |
510 |
if (complain_message_count) |
if (complaint_issued) |
511 |
exit (1); |
exit (EXIT_FAILURE); |
512 |
|
|
513 |
/* Grammar has been read. Do some checking */ |
/* Grammar has been read. Do some checking */ |
514 |
if (nrules == 0) |
if (nrules == 0) |