mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Show the parser states in pretty_print too
This commit is contained in:
		
							parent
							
								
									2fd03fd7e6
								
							
						
					
					
						commit
						7b716bc52a
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue