/[bison]/bison/src/reader.c
ViewVC logotype

Diff of /bison/src/reader.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.212 by akim, Thu Oct 17 17:47:33 2002 UTC revision 1.213 by eggert, Tue Oct 22 04:43:50 2002 UTC
# Line 422  packgram (void) Line 422  packgram (void)
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;
# Line 507  reader (void) Line 507  reader (void)
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)

Legend:
Removed from v.1.212  
changed lines
  Added in v.1.213

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26