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

Diff of /bison/src/main.c

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

revision 1.72 by eggert, Wed Oct 23 07:00:19 2002 UTC revision 1.73 by eggert, Wed Oct 23 18:41:43 2002 UTC
# Line 74  main (int argc, char *argv[]) Line 74  main (int argc, char *argv[])
74    timevar_pop (TV_READER);    timevar_pop (TV_READER);
75    
76    if (complaint_issued)    if (complaint_issued)
77      return EXIT_FAILURE;      goto finish;
78    
79    /* Find useless nonterminals and productions and reduce the grammar. */    /* Find useless nonterminals and productions and reduce the grammar. */
80    timevar_push (TV_REDUCE);    timevar_push (TV_REDUCE);
# Line 138  main (int argc, char *argv[]) Line 138  main (int argc, char *argv[])
138    /* Stop if there were errors, to avoid trashing previous output    /* Stop if there were errors, to avoid trashing previous output
139       files.  */       files.  */
140    if (complaint_issued)    if (complaint_issued)
141      return EXIT_FAILURE;      goto finish;
142    
143    /* Lookaheads are no longer needed. */    /* Lookaheads are no longer needed. */
144    timevar_push (TV_FREE);    timevar_push (TV_FREE);
# Line 173  main (int argc, char *argv[]) Line 173  main (int argc, char *argv[])
173    if (trace_flag & trace_bitsets)    if (trace_flag & trace_bitsets)
174      bitset_stats_dump (stderr);      bitset_stats_dump (stderr);
175    
176     finish:
177    
178    /* Stop timing and print the times.  */    /* Stop timing and print the times.  */
179    timevar_stop (TV_TOTAL);    timevar_stop (TV_TOTAL);
180    timevar_print (stderr);    timevar_print (stderr);

Legend:
Removed from v.1.72  
changed lines
  Added in v.1.73

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