summaryrefslogtreecommitdiff
path: root/src/parser/wat-parser.h
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2023-11-21 08:50:53 +0100
committerGitHub <noreply@github.com>2023-11-20 23:50:53 -0800
commitcccc7a6a66b00ab79626afe02f259aa5290d479c (patch)
tree1f03896877a1d59ee9c7ae6c25194382f767e4c6 /src/parser/wat-parser.h
parentbeb816be810caa0b32ab37986e7cae6f6cf11b1b (diff)
downloadbinaryen-cccc7a6a66b00ab79626afe02f259aa5290d479c.tar.gz
binaryen-cccc7a6a66b00ab79626afe02f259aa5290d479c.tar.bz2
binaryen-cccc7a6a66b00ab79626afe02f259aa5290d479c.zip
[Parser] Parse tags and throw (#6126)
Also fix the parser to correctly error if an imported item appears after a non-imported item and make the corresponding fix to the test.
Diffstat (limited to 'src/parser/wat-parser.h')
-rw-r--r--src/parser/wat-parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/wat-parser.h b/src/parser/wat-parser.h
index d3ad8d7f3..b31523af9 100644
--- a/src/parser/wat-parser.h
+++ b/src/parser/wat-parser.h
@@ -29,4 +29,4 @@ Result<> parseModule(Module& wasm, std::string_view in);
} // namespace wasm::WATParser
-#endif // paser_wat_parser_h
+#endif // parser_wat_parser_h