about summary refs log tree commit diff stats
path: root/021check_instruction.cc
diff options
context:
space:
mode:
Diffstat (limited to '021check_instruction.cc')
-rw-r--r--021check_instruction.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/021check_instruction.cc b/021check_instruction.cc
index a9ed55b2..8f12b7ca 100644
--- a/021check_instruction.cc
+++ b/021check_instruction.cc
@@ -109,7 +109,7 @@ bool is_mu_number(reagent r) {
 
 bool is_mu_scalar(reagent r) {
   if (is_literal(r))
-    return r.properties.at(0).second.at(0) != "literal-string";
+    return r.properties.at(0).second.empty() || r.properties.at(0).second.at(0) != "literal-string";
   if (is_mu_array(r)) return false;
   return size_of(r) == 1;
 }