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

Diff for /src/usr.bin/yacc/closure.c between version 1.6 and 1.7

version 1.6, 2003/06/03 02:56:24 version 1.7, 2003/06/19 16:34:53
Line 52 
Line 52 
   
   
 void  void
 set_EFF()  set_EFF(void)
 {  {
     unsigned *row;      unsigned *row;
     int symbol;      int symbol;
Line 89 
Line 89 
   
   
 void  void
 set_first_derives()  set_first_derives(void)
 {  {
     unsigned *rrow;      unsigned *rrow;
     unsigned *vrow;      unsigned *vrow;
Line 145 
Line 145 
   
   
 void  void
 closure(nucleus, n)  closure(short *nucleus, int n)
 short *nucleus;  
 int n;  
 {  {
     int ruleno;      int ruleno;
     unsigned word;      unsigned word;
Line 216 
Line 214 
   
   
 void  void
 finalize_closure()  finalize_closure(void)
 {  {
   FREE(itemset);    FREE(itemset);
   FREE(ruleset);    FREE(ruleset);
Line 226 
Line 224 
   
 #ifdef  DEBUG  #ifdef  DEBUG
   
 print_closure(n)  void
 int n;  print_closure(int n)
 {  {
   short *isp;    short *isp;
   
Line 236 
Line 234 
     printf("   %d\n", *isp);      printf("   %d\n", *isp);
 }  }
   
   void
 print_EFF()  print_EFF(void)
 {  {
     int i, j;      int i, j;
     unsigned *rowp;      unsigned *rowp;
Line 267 
Line 265 
     }      }
 }  }
   
   void
 print_first_derives()  print_first_derives(void)
 {  {
     int i;      int i;
     int j;      int j;

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7