Skip to content

Commit ca5b4cb

Browse files
committed
Make it so prism can print out its AST in 'ast'
1 parent e79e621 commit ca5b4cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/ast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ if options[:print_ast]
158158
DotGraph.print_graph(root)
159159
else
160160
print "AST:"
161-
puts indent(root.to_string)
161+
puts indent(root.get_ast.to_string)
162162
puts
163163
end
164164
end

0 commit comments

Comments
 (0)