Skip to content

Commit

Permalink
. inspect values on stack
Browse files Browse the repository at this point in the history
  • Loading branch information
kschiess committed Dec 28, 2011
1 parent 566dd55 commit cdaf8b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/parslet/bytecode/vm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def dump_state(ip_offset)

puts "\nStack(#{@values.size}): (last 5, top is top of stack)"
@values.last(5).reverse.each_with_index do |v,i|
printf(" %5d: %s\n", i, v)
printf(" %5d: %s\n", i, v.inspect)
end

puts "\nStack Frames(#{@frames.size}): (last 5, top is top of stack)"
Expand Down

0 comments on commit cdaf8b2

Please sign in to comment.