diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-11-06 15:25:40 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-11-06 15:25:40 -0800 |
commit | 3bcc53bcd6345dc5aa6ddeca949ab59dba6e7590 (patch) | |
tree | cfb294ed9bcc75d88afd45eb09383a4bfca9bbeb /010vm.cc | |
parent | c157066cab02f91b2d5e53dbec09151936538578 (diff) | |
download | mu-3bcc53bcd6345dc5aa6ddeca949ab59dba6e7590.tar.gz |
2381
Diffstat (limited to '010vm.cc')
-rw-r--r-- | 010vm.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/010vm.cc b/010vm.cc index b4ba23f1..cf46bc65 100644 --- a/010vm.cc +++ b/010vm.cc @@ -275,6 +275,8 @@ type_tree* new_type_tree(const string_tree* properties) { const string& type_name = properties->value; if (contains_key(Type_ordinal, type_name)) result->value = get(Type_ordinal, type_name); + else + result->value = -1; } result->left = new_type_tree(properties->left); result->right = new_type_tree(properties->right); |