summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/s2wasm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/s2wasm.h b/src/s2wasm.h
index b8ac6f139..bd3f12e73 100644
--- a/src/s2wasm.h
+++ b/src/s2wasm.h
@@ -900,7 +900,7 @@ private:
raw->insert(raw->end(), quoted.begin(), quoted.end());
if (z) raw->push_back(0);
zero = false;
- } else if (match(".zero")) {
+ } else if (match(".zero") || match(".skip")) {
int32_t size = getInt();
if (size <= 0) {
abort_on(".zero with zero or negative size");