refactor how repl works
This commit is contained in:
@@ -1090,7 +1090,7 @@ func runCompilerTests2(t *testing.T, tests []compilerTestCase2) {
|
||||
|
||||
func parse(input string) *ast.Program {
|
||||
l := lexer.New(input)
|
||||
p := parser.New(l)
|
||||
p := parser.New("<text", l)
|
||||
return p.ParseProgram()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user