diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/s2wasm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/s2wasm.h b/src/s2wasm.h index 5614c7b58..b17ed0702 100644 --- a/src/s2wasm.h +++ b/src/s2wasm.h @@ -399,6 +399,10 @@ class S2WasmBuilder { // add data aliases } else { Name lhs = getStrToSep(); + // When the current line contains only one word, e.g.".text" + if (match("\n")) + continue; + // When the current line contains more than one word if (!skipEqual()){ s = strchr(s, '\n'); if (!s) break; |