Updated generator
This commit is contained in:
parent
cf40ab0707
commit
b743e56c2a
|
@ -4,12 +4,12 @@ import "io"
|
|||
import "testing"
|
||||
import "strings"
|
||||
import "git.tebibyte.media/sashakoshka/fspl/lexer"
|
||||
import "git.tebibyte.media/sashakoshka/fspl/parser"
|
||||
import "git.tebibyte.media/sashakoshka/fspl/analyzer"
|
||||
import "git.tebibyte.media/sashakoshka/fspl/testcommon"
|
||||
import "git.tebibyte.media/sashakoshka/fspl/parser/fspl"
|
||||
|
||||
func testString (test *testing.T, correct string, input string) {
|
||||
ast := parser.Tree { }
|
||||
ast := fsplParser.Tree { }
|
||||
lx, err := lexer.LexReader("input.fspl", strings.NewReader(input))
|
||||
if err != nil {
|
||||
test.Error("lexer returned error:", err)
|
||||
|
|
Loading…
Reference in New Issue