From f9a49faa33f3a61bd27da8227eeac20b74f649c3 Mon Sep 17 00:00:00 2001 From: Thomas Lively Date: Thu, 22 Feb 2024 09:09:19 -0800 Subject: [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. --- src/parser/wat-parser.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/parser/wat-parser.cpp') 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 createIndexMap(ParseInput& in, - const std::vector& defs) { +Result createIndexMap(Lexer& in, const std::vector& defs) { IndexMap indices; for (auto& def : defs) { if (def.name.is()) { -- cgit v1.2.3