summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/s2wasm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/s2wasm.h b/src/s2wasm.h
index 39100f01d..4ba491061 100644
--- a/src/s2wasm.h
+++ b/src/s2wasm.h
@@ -280,6 +280,7 @@ private:
s++;
if (match("text")) parseText();
else if (match("type")) parseType();
+ else if (match("weak")) getStr(); // contents are in the type that follows
else if (match("imports")) skipImports();
else if (match("data")) {}
else if (match("ident")) {}