about summary refs log tree commit diff stats
path: root/021check_instruction.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-11-27 21:38:09 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-11-27 21:38:09 -0800
commitfca48e92d4e51eb7e5b1a811b65e5d69fadeb713 (patch)
tree41bdb3252b20d563670e5db848cedc5c3be689cb /021check_instruction.cc
parent7f193a0e006c44604918b54c853bd49508dbe8fd (diff)
downloadmu-fca48e92d4e51eb7e5b1a811b65e5d69fadeb713.tar.gz
2483 - to-text can now handle lists
'append' also implicitly calls 'to-text' unless there's a better
variant.
Diffstat (limited to '021check_instruction.cc')
-rw-r--r--021check_instruction.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/021check_instruction.cc b/021check_instruction.cc
index 930eacde..76d3ddb2 100644
--- a/021check_instruction.cc
+++ b/021check_instruction.cc
@@ -124,8 +124,8 @@ bool types_match(type_tree* lhs, type_tree* rhs) {
     if (lhs->value == get(Type_ordinal, "address")) return false;
     return size_of(rhs) == size_of(lhs);
   }
-  if (lhs->value == get(Type_ordinal, "character") && rhs->value == get(Type_ordinal, "number")) return true;
-  if (lhs->value == get(Type_ordinal, "number") && rhs->value == get(Type_ordinal, "character")) return true;
+//?   if (lhs->value == get(Type_ordinal, "character") && rhs->value == get(Type_ordinal, "number")) return true;
+//?   if (lhs->value == get(Type_ordinal, "number") && rhs->value == get(Type_ordinal, "character")) return true;
   if (lhs->value != rhs->value) return false;
   return types_match(lhs->left, rhs->left) && types_match(lhs->right, rhs->right);
 }