summaryrefslogtreecommitdiff
path: root/src/parser/parsers.h
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2024-05-29 11:32:26 -0700
committerGitHub <noreply@github.com>2024-05-29 11:32:26 -0700
commitd844d2e77b402d562ade8cf8fd96759b587bf09d (patch)
tree0bb0dedf7efb8b90e43340292a2c8f4f7fb063a0 /src/parser/parsers.h
parentf622b8e47c69dcbdf2666c795fb3658dc4da52af (diff)
downloadbinaryen-d844d2e77b402d562ade8cf8fd96759b587bf09d.tar.gz
binaryen-d844d2e77b402d562ade8cf8fd96759b587bf09d.tar.bz2
binaryen-d844d2e77b402d562ade8cf8fd96759b587bf09d.zip
Remove obsolete parser code (#6607)
Remove `SExpressionParser`, `SExpressionWasmBuilder`, and `cashew::Parser`. Simplify gen-s-parser.py. Remove the --new-wat-parser and --deprecated-wat-parser flags.
Diffstat (limited to 'src/parser/parsers.h')
-rw-r--r--src/parser/parsers.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/parser/parsers.h b/src/parser/parsers.h
index 5900deb27..ab990e7b0 100644
--- a/src/parser/parsers.h
+++ b/src/parser/parsers.h
@@ -918,8 +918,6 @@ MaybeResult<> plaininstr(Ctx& ctx, const std::vector<Annotation>& annotations) {
return {};
}
-#define NEW_INSTRUCTION_PARSER
-#define NEW_WAT_PARSER
#include <gen-s-parser.inc>
}