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

Diff for /src/usr.bin/yacc/defs.h between version 1.14 and 1.15

version 1.14, 2014/01/08 22:30:32 version 1.15, 2014/01/08 23:12:57
Line 137 
Line 137 
   
 /*  storage allocation macros  */  /*  storage allocation macros  */
   
 #define NEW(t)          (allocate(sizeof(t)))  #define NEW(t)          ((t*)allocate(sizeof(t)))
 #define NEW2(n,t)       (allocate((n)*sizeof(t)))  #define NEW2(n,t)       ((t*)allocate((n)*sizeof(t)))
   
   
 /*  the structure of a symbol table entry  */  /*  the structure of a symbol table entry  */

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