From 7fbb349bde8ede4542b81b14cea52dcc3e93a02d Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Fri, 11 Dec 2015 17:58:16 -0500 Subject: add the loop in s2wasm --- src/s2wasm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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(); + bstack.back()->list.push_back(curr); curr->out = name; mustMatch("loop"); curr->in = getStr(); -- cgit v1.2.3