summaryrefslogtreecommitdiff
path: root/src/wasm/wasm-s-parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm/wasm-s-parser.cpp')
-rw-r--r--src/wasm/wasm-s-parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm/wasm-s-parser.cpp b/src/wasm/wasm-s-parser.cpp
index d2b24fbed..0ff4bfb9f 100644
--- a/src/wasm/wasm-s-parser.cpp
+++ b/src/wasm/wasm-s-parser.cpp
@@ -2048,7 +2048,7 @@ Expression* SExpressionWasmBuilder::makeTry(Element& s) {
if (inner.size() != 2) {
throw ParseException("invalid delegate", inner.line, inner.col);
}
- ret->delegateTarget = getLabel(*inner[1], LabelType::Delegate);
+ ret->delegateTarget = getLabel(*inner[1], LabelType::Exception);
}
if (i != s.size()) {