summaryrefslogtreecommitdiff
path: root/src/s2wasm.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-01-06 16:15:10 -0800
committerAlon Zakai <alonzakai@gmail.com>2016-01-06 16:15:10 -0800
commit176a955c63f7891f00c1f29e33079dc3d77539da (patch)
treee539c910c8eadfc664a26caa464b53d31d86a264 /src/s2wasm.h
parent9053bd501b9e69c044410900fdeac25bd38b078e (diff)
parent3cfb90c2acac907dfbf9db7ad0940a06183dcda4 (diff)
downloadbinaryen-176a955c63f7891f00c1f29e33079dc3d77539da.tar.gz
binaryen-176a955c63f7891f00c1f29e33079dc3d77539da.tar.bz2
binaryen-176a955c63f7891f00c1f29e33079dc3d77539da.zip
Merge branch 'sections-visibilties'
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 d51c90e5e..48d6d9350 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")) {}