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

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40

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