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

Diff for /src/usr.bin/yacc/lr0.c between version 1.14 and 1.15

version 1.14, 2014/01/08 22:30:32 version 1.15, 2014/01/08 22:36:37
Line 510 
Line 510 
     int empty;      int empty;
     int done;      int done;
   
     nullable = malloc(nsyms);      nullable = calloc(1, nsyms);
     if (nullable == 0) no_space();      if (nullable == 0) no_space();
   
     memset(nullable, 0, nsyms);  
   
     done = 0;      done = 0;
     while (!done)      while (!done)

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15