Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Unbreak eval of foreign HLLs.
  • Loading branch information
jnthn committed Aug 25, 2009
1 parent 9d9d416 commit 8968778
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/builtins/control.pir
Expand Up @@ -373,6 +373,7 @@ on error.
compiler = compreg 'perl6'
got_lang:
invokable = compiler.'compile'(code)
if have_lang goto invoke_direct

# Clear lexical info we added.
blocks.'shift'()
Expand All @@ -382,6 +383,7 @@ on error.
$P1.'set_outer'(my_caller)

# Invoke.
invoke_direct:
res = invokable()
exception = '!FAIL'()
goto done
Expand Down

0 comments on commit 8968778

Please sign in to comment.