Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
parse require
  • Loading branch information
moritz committed Sep 24, 2010
1 parent 5e7b432 commit c94bfe1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Perl6/Grammar.pm
Expand Up @@ -460,6 +460,11 @@ token statement_control:sym<use> {
<.ws>
}

rule statement_control:sym<require> {
<sym>
<module_name> <EXPR>?
}

token statement_control:sym<given> {
<sym> :s <xblock(1)>
}
Expand Down

0 comments on commit c94bfe1

Please sign in to comment.