1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

ripper: call #pretty_print on also state

This commit is contained in:
Nobuyoshi Nakada 2021-01-04 23:37:00 +09:00
parent afa9d65d61
commit 433a3be86a
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -81,7 +81,7 @@ class Ripper
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)