aboutsummaryrefslogtreecommitdiff
path: root/cmd/vartan/parse.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/vartan/parse.go')
-rw-r--r--cmd/vartan/parse.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/vartan/parse.go b/cmd/vartan/parse.go
index 568a99c..8089c5e 100644
--- a/cmd/vartan/parse.go
+++ b/cmd/vartan/parse.go
@@ -55,7 +55,7 @@ func runParse(cmd *cobra.Command, args []string) (retErr error) {
return err
}
fmt.Printf("Accepted\n")
- driver.PrintTree(p.AST(), 0)
+ driver.PrintTree(os.Stdout, p.AST())
return nil
}