summaryrefslogtreecommitdiff
path: root/src/s2wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/s2wasm.h')
-rw-r--r--src/s2wasm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/s2wasm.h b/src/s2wasm.h
index 9d50693e9..dd53fc8e0 100644
--- a/src/s2wasm.h
+++ b/src/s2wasm.h
@@ -311,7 +311,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("weak") || match("hidden") || match("protected") || match("internal")) getStr(); // contents are in the content that follows
else if (match("imports")) skipImports();
else if (match("data")) {}
else if (match("ident")) {}