Show the parser states in pretty_print too
This commit is contained in:
parent
2fd03fd7e6
commit
7b716bc52a
@ -74,6 +74,8 @@ class Ripper
|
||||
q.breakable
|
||||
q.text("#{event}@#{pos[0]}:#{pos[1]}")
|
||||
q.breakable
|
||||
q.text(state)
|
||||
q.breakable
|
||||
q.text("token: ")
|
||||
tok.pretty_print(q)
|
||||
if message
|
||||
|
Loading…
x
Reference in New Issue
Block a user