allocate_storage() { allocate_itemsets(); shiftset = NEW2(nsyms, short); redset = NEW2(nrules + 1, short); state_set = NEW2(nitems, core *); }
static void allocate_storage (void) { allocate_itemsets (); shiftset = NEW2 (nsyms, Value_t); redset = NEW2 (nrules + 1, Value_t); state_set = NEW2 (nitems, core *); }
void allocate_storage() { allocate_itemsets(); shiftset = NEW2(nsyms, short); redset = NEW2(nrules + 1, short); state_table = NEW2(STATE_TABLE_SIZE, core *); }
static void allocate_storage (void) { allocate_itemsets (); shiftset = xnmalloc (nsyms, sizeof *shiftset); redset = xnmalloc (nrules, sizeof *redset); state_hash_new (); shift_symbol = xnmalloc (nsyms, sizeof *shift_symbol); }