/[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.30.2.6 by akim, Mon Nov 12 09:15:57 2001 UTC revision 1.30.2.7 by akim, Mon Nov 12 09:19:48 2001 UTC
# Line 62  main (int argc, char *argv[]) Line 62  main (int argc, char *argv[])
62    if (complain_message_count)    if (complain_message_count)
63      exit (1);      exit (1);
64    
65    /* find useless nonterminals and productions and reduce the grammar.  In    /* Find useless nonterminals and productions and reduce the grammar.
66       file reduce.c */       In file reduce.c.  */
67    reduce_grammar ();    reduce_grammar ();
68    
69    /* record other info about the grammar.  In files derives and nullable.  */    /* Record other info about the grammar.  In files derives and
70         nullable.  */
71    set_derives ();    set_derives ();
72    set_nullable ();    set_nullable ();
73    
74    /* convert to nondeterministic finite state machine.  In file LR0.    /* Convert to nondeterministic finite state machine.  In file LR0.
75       See state.h for more info.  */       See state.h for more info.  */
76    generate_states ();    generate_states ();
77    
# Line 101  main (int argc, char *argv[]) Line 102  main (int argc, char *argv[])
102    /* Output the tables and the parser to ftable.  In file output.  */    /* Output the tables and the parser to ftable.  In file output.  */
103    output ();    output ();
104    
105      /* Close the input files. */
106      close_files ();
107    
108    /* Free the symbol table data structure.  */    /* Free the symbol table data structure.  */
109    free_symtab ();    free_symtab ();
110    
111    lex_free ();    lex_free ();
112    
   /* Close the input files. */  
   close_files ();  
   
113    reduce_free ();    reduce_free ();
114    free_conflicts ();    free_conflicts ();
115    free_nullable ();    free_nullable ();

Legend:
Removed from v.1.30.2.6  
changed lines
  Added in v.1.30.2.7

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