Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
allow subroutine forward declarations
  • Loading branch information
FROGGS committed Jun 4, 2013
1 parent 206e529 commit 37adf8f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/Perl5/Grammar.nqp
Expand Up @@ -2042,7 +2042,10 @@ grammar Perl5::Grammar is HLL::Grammar does STD5 {
[ <parensig> { %prototype{ ~$<deflongname> } := ~$*PROTOTYPE } ]?
<trait>*
{ $*IN_DECL := 0; }
<blockoid>
[
|| <?terminator>
|| <blockoid>
]
|| <?before \W>
<.newlex>
[ <parensig> { %prototype{ ~$<deflongname> } := ~$*PROTOTYPE } ]?
Expand Down

0 comments on commit 37adf8f

Please sign in to comment.