diff options
Diffstat (limited to '043new.cc')
-rw-r--r-- | 043new.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/043new.cc b/043new.cc index 9c76adfb..72f3491b 100644 --- a/043new.cc +++ b/043new.cc @@ -30,7 +30,7 @@ trace(9999, "new") << "routine allocated memory from " << alloc << " to " << all Type_ordinal["type"] = 0; :(before "End transform_names(inst) Special-cases") // replace type names with type_ordinals -if (inst.operation == Recipe_ordinal["new"]) { +if (inst.name == "new") { // End NEW Transform Special-cases // first arg must be of type 'type' if (inst.ingredients.empty()) |