summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/wasm-s-parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-s-parser.h b/src/wasm-s-parser.h
index 5768f5dcf..1cd614c1d 100644
--- a/src/wasm-s-parser.h
+++ b/src/wasm-s-parser.h
@@ -559,7 +559,7 @@ public:
case 'b': {
if (str[1] == 'l') return makeBlock(s);
if (str[1] == 'r') {
- if (str[3] == 't') return makeBreakTable(s);
+ if (str[2] == '_' && str[3] == 't') return makeBreakTable(s);
return makeBreak(s);
}
abort_on(str);