Struct fields that aren't explicitly initialised must be initialized to
a 'null' value. This can happen at interp-time. There is no need to
allocate a null value when parsing.
Signed-off-by: NeilBrown <neil@brown.name>
$0 = calloc(1, sizeof(struct fieldlist));
$0->f.name = $1.txt;
$0->f.type = $<3;
- $0->f.init = val_alloc($0->f.type, NULL);
+ if ($0->f.type->prepare_type)
+ $0->f.type->prepare_type($0->f.type);
}$
###### forward decls