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.breakable
|
||||||
q.text("#{event}@#{pos[0]}:#{pos[1]}")
|
q.text("#{event}@#{pos[0]}:#{pos[1]}")
|
||||||
q.breakable
|
q.breakable
|
||||||
|
q.text(state)
|
||||||
|
q.breakable
|
||||||
q.text("token: ")
|
q.text("token: ")
|
||||||
tok.pretty_print(q)
|
tok.pretty_print(q)
|
||||||
if message
|
if message
|
||||||
|
Loading…
x
Reference in New Issue
Block a user