diff options
-rw-r--r-- | src/wasm-s-parser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-s-parser.h b/src/wasm-s-parser.h index 9de9af417..28ef7231a 100644 --- a/src/wasm-s-parser.h +++ b/src/wasm-s-parser.h @@ -242,7 +242,7 @@ private: input++; return allocator.alloc<Element>()->setString(IString(str.c_str(), false), dollared)->setMetadata(line, start - lineStart); } - while (input[0] && !isspace(input[0]) && input[0] != ')' && input[0] != '(') input++; + while (input[0] && !isspace(input[0]) && input[0] != ')' && input[0] != '(' && input[0] != ';') input++; char temp = input[0]; input[0] = 0; auto ret = allocator.alloc<Element>()->setString(IString(start, false), dollared)->setMetadata(line, start - lineStart); |