diff options
Diffstat (limited to '010vm.cc')
-rw-r--r-- | 010vm.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/010vm.cc b/010vm.cc index 9806511e..e772e811 100644 --- a/010vm.cc +++ b/010vm.cc @@ -277,7 +277,7 @@ type_tree* new_type_tree(const string_tree* properties) { result->value = get(Type_ordinal, type_name); else if (is_integer(type_name)) // sometimes types will contain non-type tags, like numbers for the size of an array result->value = 0; - else + else if (properties->value != "->") // used in recipe types result->value = -1; // should never happen; will trigger errors later } result->left = new_type_tree(properties->left); |