summaryrefslogtreecommitdiff
path: root/src/parser/wat-parser.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2024-02-22 09:09:19 -0800
committerGitHub <noreply@github.com>2024-02-22 09:09:19 -0800
commitf9a49faa33f3a61bd27da8227eeac20b74f649c3 (patch)
tree83d6c9ae4748200cebfe7c12d5c8fea725aa8f27 /src/parser/wat-parser.cpp
parente4d2e7c08e758c513eb2a8b193a5bf4df589c947 (diff)
downloadbinaryen-f9a49faa33f3a61bd27da8227eeac20b74f649c3.tar.gz
binaryen-f9a49faa33f3a61bd27da8227eeac20b74f649c3.tar.bz2
binaryen-f9a49faa33f3a61bd27da8227eeac20b74f649c3.zip
[Parser][NFC] Remove parser/input.h (#6332)
Remove the layer of abstraction sitting between the parser and the lexer now that the lexer has an interface the parser can use directly.
Diffstat (limited to 'src/parser/wat-parser.cpp')
-rw-r--r--src/parser/wat-parser.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/parser/wat-parser.cpp b/src/parser/wat-parser.cpp
index 33066ea71..ff0dea768 100644
--- a/src/parser/wat-parser.cpp
+++ b/src/parser/wat-parser.cpp
@@ -60,8 +60,7 @@ namespace wasm::WATParser {
namespace {
-Result<IndexMap> createIndexMap(ParseInput& in,
- const std::vector<DefPos>& defs) {
+Result<IndexMap> createIndexMap(Lexer& in, const std::vector<DefPos>& defs) {
IndexMap indices;
for (auto& def : defs) {
if (def.name.is()) {