Skip to content

Commit

Permalink
Avoid an infinite exception handler loop by popping a handler before …
Browse files Browse the repository at this point in the history
…calling Rakudo's 'die'. Resolves RT#62700.
  • Loading branch information
jnthn committed Feb 11, 2009
1 parent cad0468 commit 8b8095c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/classes/Grammar.pir
Expand Up @@ -51,6 +51,7 @@ Invokes the TOP rule in the grammar on the given topic.
.return(match)

no_TOP:
pop_eh
'die'("The grammar has no TOP rule to invoke.")
.end

Expand Down

0 comments on commit 8b8095c

Please sign in to comment.