Skip to content

Commit f9723f9

Browse files
committed
Output only ast
1 parent f7c65da commit f9723f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/exp/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ func check(err error) {
6565
}
6666

6767
func printAst() {
68-
node, err := parser.Parse(input())
68+
tree, err := parser.Parse(input())
6969
check(err)
70-
litter.Dump(node)
70+
litter.Dump(tree.Node)
7171
}
7272

7373
func printDisassemble() {

0 commit comments

Comments
 (0)