From 3cfb90c2acac907dfbf9db7ad0940a06183dcda4 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 6 Jan 2016 16:14:26 -0800 Subject: handle/ignore visibilities in s2wasm --- src/s2wasm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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")) {} -- cgit v1.2.3