[BACK]Return to output.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / yacc

Diff for /src/usr.bin/yacc/output.c between version 1.10 and 1.11

version 1.10, 2003/06/03 02:56:24 version 1.11, 2003/06/19 16:34:53
Line 86 
Line 86 
 void free_reductions(void);  void free_reductions(void);
   
 void  void
 output()  output(void)
 {  {
     free_itemsets();      free_itemsets();
     free_shifts();      free_shifts();
Line 110 
Line 110 
   
   
 void  void
 output_prefix()  output_prefix(void)
 {  {
     if (symbol_prefix == NULL)      if (symbol_prefix == NULL)
         symbol_prefix = "yy";          symbol_prefix = "yy";
Line 175 
Line 175 
   
   
 void  void
 output_rule_data()  output_rule_data(void)
 {  {
     int i;      int i;
     int j;      int j;
Line 234 
Line 234 
   
   
 void  void
 output_yydefred()  output_yydefred(void)
 {  {
     int i, j;      int i, j;
   
Line 268 
Line 268 
   
   
 void  void
 output_actions()  output_actions(void)
 {  {
     nvectors = 2*nstates + nvars;      nvectors = 2*nstates + nvars;
   
Line 297 
Line 297 
   
   
 void  void
 token_actions()  token_actions(void)
 {  {
     int i, j;      int i, j;
     int shiftcount, reducecount;      int shiftcount, reducecount;
Line 382 
Line 382 
 }  }
   
 void  void
 goto_actions()  goto_actions(void)
 {  {
     int i, j, k;      int i, j, k;
   
Line 421 
Line 421 
 }  }
   
 int  int
 default_goto(symbol)  default_goto(int symbol)
 int symbol;  
 {  {
     int i;      int i;
     int m;      int m;
Line 458 
Line 457 
   
   
 void  void
 save_column(symbol, default_state)  save_column(int symbol, int default_state)
 int symbol;  
 int default_state;  
 {  {
     int i;      int i;
     int m;      int m;
Line 501 
Line 498 
 }  }
   
 void  void
 sort_actions()  sort_actions(void)
 {  {
   int i;    int i;
   int j;    int j;
Line 537 
Line 534 
   
   
 void  void
 pack_table()  pack_table(void)
 {  {
     int i;      int i;
     int place;      int place;
Line 600 
Line 597 
 /*  order.                                                              */  /*  order.                                                              */
   
 int  int
 matching_vector(vector)  matching_vector(int vector)
 int vector;  
 {  {
     int i;      int i;
     int j;      int j;
Line 641 
Line 637 
   
   
 int  int
 pack_vector(vector)  pack_vector(int vector)
 int vector;  
 {  {
     int i, j, k, l;      int i, j, k, l;
     int t;      int t;
Line 719 
Line 714 
   
   
 void  void
 output_base()  output_base(void)
 {  {
     int i, j;      int i, j;
   
Line 802 
Line 797 
 }  }
   
   
   
 void  void
 output_table()  output_table(void)
 {  {
     int i;      int i;
     int j;      int j;
Line 840 
Line 834 
 }  }
   
   
   
 void  void
 output_check()  output_check(void)
 {  {
     int i;      int i;
     int j;      int j;
Line 877 
Line 870 
   
   
 int  int
 is_C_identifier(name)  is_C_identifier(char *name)
 char *name;  
 {  {
     char *s;      char *s;
     int c;      int c;
Line 910 
Line 902 
   
   
 void  void
 output_defines()  output_defines(void)
 {  {
     int c, i;      int c, i;
     char *s;      char *s;
Line 963 
Line 955 
   
   
 void  void
 output_stored_text()  output_stored_text(void)
 {  {
     int c;      int c;
     FILE *in, *out;      FILE *in, *out;
Line 991 
Line 983 
   
   
 void  void
 output_debug()  output_debug(void)
 {  {
     int i, j, k, max;      int i, j, k, max;
     char **symnam, *s;      char **symnam, *s;
Line 1219 
Line 1211 
   
   
 void  void
 output_stype()  output_stype(void)
 {  {
     if (!unionized && ntags == 0)      if (!unionized && ntags == 0)
     {      {
Line 1230 
Line 1222 
   
   
 void  void
 output_trailing_text()  output_trailing_text(void)
 {  {
     int c, last;      int c, last;
     FILE *in, *out;      FILE *in, *out;
Line 1288 
Line 1280 
   
   
 void  void
 output_semantic_actions()  output_semantic_actions(void)
 {  {
     int c, last;      int c, last;
     FILE *out;      FILE *out;
Line 1326 
Line 1318 
   
   
 void  void
 free_itemsets()  free_itemsets(void)
 {  {
     core *cp, *next;      core *cp, *next;
   
Line 1340 
Line 1332 
   
   
 void  void
 free_shifts()  free_shifts(void)
 {  {
     shifts *sp, *next;      shifts *sp, *next;
   
Line 1355 
Line 1347 
   
   
 void  void
 free_reductions()  free_reductions(void)
 {  {
     reductions *rp, *next;      reductions *rp, *next;
   

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11