Skip to content

Commit

Permalink
ripper: call #pretty_print on also state
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Jan 4, 2021
1 parent afa9d65 commit 433a3be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/ripper/lib/ripper/lexer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def pretty_print(q)
q.breakable
q.text("#{event}@#{pos[0]}:#{pos[1]}")
q.breakable
q.text(state)
state.pretty_print(q)
q.breakable
q.text("token: ")
tok.pretty_print(q)
Expand Down

0 comments on commit 433a3be

Please sign in to comment.