diff options
Diffstat (limited to 'src/s2wasm.h')
-rw-r--r-- | src/s2wasm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/s2wasm.h b/src/s2wasm.h index b7682788a..c216d3713 100644 --- a/src/s2wasm.h +++ b/src/s2wasm.h @@ -314,7 +314,8 @@ private: else if (match("imports")) skipImports(); else if (match("data")) {} else if (match("ident")) {} - else if (match("section")) s = strchr(s, '\n'); + else if (match("section") || match("align")) s = strchr(s, '\n'); + else if (match("globl")) parseGlobl(); else abort_on("process"); } } |