diff options
Diffstat (limited to 'codegen/compiler_test.go')
| -rw-r--r-- | codegen/compiler_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codegen/compiler_test.go b/codegen/compiler_test.go index fbe8bb2..5c7e9d3 100644 --- a/codegen/compiler_test.go +++ b/codegen/compiler_test.go @@ -19,7 +19,7 @@ func TestCodeGen(t *testing.T) { c.AddSym(fmt.Println, "println") n := &parser.Node{} var err error - if n.Child, err = golang.GoParser.Parse(test.src); err != nil { + if n.Child, err = golang.GoParser.Parse(test.src, n); err != nil { t.Error(err) } errStr := "" |
