diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-05-12 07:55:59 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-05-12 07:55:59 -0700 |
commit | 66e6eaf4f26648649061f655ccb3cb7f97cbf537 (patch) | |
tree | 2755a16043beb94178ecdc8e31f645aeb610a669 | |
parent | 4bb57a55a0c828dfce12e80651bcc37711335e12 (diff) | |
download | mu-66e6eaf4f26648649061f655ccb3cb7f97cbf537.tar.gz |
4240
-rw-r--r-- | 010vm.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/010vm.cc b/010vm.cc index f860a953..f34f2232 100644 --- a/010vm.cc +++ b/010vm.cc @@ -345,7 +345,7 @@ type_tree* new_type_tree(const string_tree* properties) { int value = 0; if (contains_key(Type_ordinal, type_name)) 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 + else if (is_integer(type_name)) // sometimes types will contain literal integers, like for the size of an array value = 0; else if (properties->value == "->") // used in recipe types value = 0; |