Return to defs.h CVS log | Up to [local] / src / usr.bin / yacc |
version 1.14, 2014/01/08 22:30:32 | version 1.15, 2014/01/08 23:12:57 | ||
---|---|---|---|
|
|
||
/* 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 */ |