diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-01-06 16:14:26 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-01-06 16:14:26 -0800 |
commit | 3cfb90c2acac907dfbf9db7ad0940a06183dcda4 (patch) | |
tree | b04a50540a5a4b8f2dbeff1d561350d2d8fc3694 /src/s2wasm.h | |
parent | 1deb9c22d62c853ae3701fdae0e605436c9ed648 (diff) | |
download | binaryen-3cfb90c2acac907dfbf9db7ad0940a06183dcda4.tar.gz binaryen-3cfb90c2acac907dfbf9db7ad0940a06183dcda4.tar.bz2 binaryen-3cfb90c2acac907dfbf9db7ad0940a06183dcda4.zip |
handle/ignore visibilities in s2wasm
Diffstat (limited to 'src/s2wasm.h')
-rw-r--r-- | src/s2wasm.h | 2 |
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")) {} |