Skip to content

Commit

Permalink
Fix broken DOC INIT blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
hoelzro committed Aug 6, 2014
1 parent 3f3abe7 commit dc9083f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Actions.nqp
Expand Up @@ -1427,7 +1427,7 @@ class Perl6::Actions is HLL::Actions does STDActions {
method statement_prefix:sym<POST>($/) { make $*W.add_phaser($/, 'POST', ($<blorst>.ast).ann('code_object'), ($<blorst>.ast).ann('past_block')); }

method statement_prefix:sym<DOC>($/) {
$*W.add_phaser($/, ~$<phase>, ($<blorst>.ast).ann('code_object'))
$*W.add_phaser($/, ~$<phase>, ($<blorst>.ast).ann('code_object'), ($<blorst>.ast).ann('past_block'))
if %*COMPILING<%?OPTIONS><doc>;
}

Expand Down

0 comments on commit dc9083f

Please sign in to comment.