summaryrefslogtreecommitdiff
path: root/src/s2wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/s2wasm.h')
-rw-r--r--src/s2wasm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/s2wasm.h b/src/s2wasm.h
index 03bab0ba5..a04ab65bd 100644
--- a/src/s2wasm.h
+++ b/src/s2wasm.h
@@ -372,6 +372,7 @@ private:
// this may also be a loop beginning
if (*s == 'l') {
auto curr = allocator.alloc<Loop>();
+ bstack.back()->list.push_back(curr);
curr->out = name;
mustMatch("loop");
curr->in = getStr();