refactor Lexer to only take StringScanner

This commit is contained in:
Michael Go
2025-01-07 14:32:46 -04:00
parent 253ec81b56
commit 04bd9dbe90
5 changed files with 8 additions and 10 deletions
+1 -1
View File
@@ -85,6 +85,6 @@ class ParserUnitTest < Minitest::Test
private
def new_parser(str)
Parser.new(str, StringScanner.new(""))
Parser.new(StringScanner.new(str))
end
end