about summary refs log tree commit diff stats
path: root/cpp
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-02-22 00:36:43 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-02-22 00:36:43 -0800
commit6c69f77944078029f68e8b4b9d4c2e3436d9ee29 (patch)
tree0c69e55f3de4f9f38c4fda822e649d86dfb79cbb /cpp
parent5e938dc19304baeea7fab1a7ad13d23d5e154d3f (diff)
downloadmu-6c69f77944078029f68e8b4b9d4c2e3436d9ee29.tar.gz
818
Diffstat (limited to 'cpp')
-rw-r--r--cpp/019array1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/019array b/cpp/019array
index 51265826..d6ae0eae 100644
--- a/cpp/019array
+++ b/cpp/019array
@@ -41,6 +41,7 @@ size_t size_of(reagent r) {
     return result;
   }
   if (t.is_array) {
+    assert(!r.name.empty());
     int base = to_int(r.name);
     if (Memory[base] == 0) return 0;
     ostringstream out;