Skip to content

Commit

Permalink
Correct problem with statement-style package declarators (RT #67976).
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed Jul 28, 2009
1 parent 7700f40 commit 426942a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/builtins/eval.pir
Expand Up @@ -56,6 +56,10 @@ itself can be found in src/builtins/control.pir.
.param string name
.param pmc options :named :slurpy

# Save current begin_compunit flag for restoration later.
.local pmc begin_compunit
begin_compunit = get_global '$begin_compunit'

.local int ismodule
.local pmc module
ismodule = 0
Expand Down Expand Up @@ -134,6 +138,7 @@ itself can be found in src/builtins/control.pir.
set_hll_global ['Perl6';'Grammar';'Actions'], '@?BLOCK', outer_blocks

done:
set_global '$begin_compunit', begin_compunit
.return (result)
.end

Expand Down

0 comments on commit 426942a

Please sign in to comment.