about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--010vm.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/010vm.cc b/010vm.cc
index 4edf59a7..27224f03 100644
--- a/010vm.cc
+++ b/010vm.cc
@@ -198,6 +198,10 @@ reagent::reagent(string s) :original_string(s), value(0), initialized(false) {
     }
     types.push_back(Type_ordinal[type]);
   }
+  if (is_integer(name) && types.empty()) {
+    types.push_back(0);
+    properties.at(0).second.push_back("literal");
+  }
   if (name == "_" && types.empty()) {
     types.push_back(0);
     properties.at(0).second.push_back("dummy");