Skip to content

Commit

Permalink
Add a null check to avoid exceptions in the backtrace printing; need …
Browse files Browse the repository at this point in the history
…this for the release, but Parrot probably should not be putting them there in the first place, so investigate that too.
  • Loading branch information
jnthn committed Jul 22, 2009
1 parent e506d36 commit 23e8f09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions perl6.pir
Expand Up @@ -259,6 +259,7 @@ and report exceptions.
it_loop:
unless it goto it_loop_end
cur_block = shift it
if null cur_block goto it_loop # XXX Why'd we have null anyway? Parrot bug?

if cur_info != "" goto got_cur_info
cur_info = 'format_location'(cur_block)
Expand Down

0 comments on commit 23e8f09

Please sign in to comment.