Skip to content

Commit 433a3be

Browse files
committed
ripper: call #pretty_print on also state
1 parent afa9d65 commit 433a3be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/ripper/lib/ripper/lexer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def pretty_print(q)
8181
q.breakable
8282
q.text("#{event}@#{pos[0]}:#{pos[1]}")
8383
q.breakable
84-
q.text(state)
84+
state.pretty_print(q)
8585
q.breakable
8686
q.text("token: ")
8787
tok.pretty_print(q)

0 commit comments

Comments
 (0)