From 4f32f024b9daafa0e1e0d48244c7f75f49f38db8 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 18 Jan 2016 16:46:07 -0800 Subject: 2569 --- 010vm.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '010vm.cc') 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); -- cgit 1.4.1-2-gfad0