Skip to content

Commit

Permalink
Remove <?before> token in token term:sym<multi_declarator>
Browse files Browse the repository at this point in the history
  • Loading branch information
tisonkun committed Jul 17, 2018
1 parent 33e22b7 commit a86d643
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/NQP/Grammar.nqp
Expand Up @@ -316,13 +316,9 @@ grammar NQP::Grammar is HLL::Grammar {
token term:sym<package_declarator> { <package_declarator> }
token term:sym<scope_declarator> { <scope_declarator> }
token term:sym<routine_declarator> { <routine_declarator> }
token term:sym<multi_declarator> {
<?before 'multi'|'proto'|'only'>
<!before 'proto' <.ws> ['regex'|'token'|'rule']>
<multi_declarator>
}
token term:sym<regex_declarator> { <regex_declarator> }

token term:sym<multi_declarator> { <multi_declarator> }

token term:sym<statement_prefix> { <statement_prefix> }
token term:sym<lambda> { <?lambda> <pblock> }
token term:sym<last> { <sym> [<.ws> <identifier> <?{ $*W.is_lexical(~$<identifier>) }>]? { $*CONTROL_USED := 1 } }
Expand Down

0 comments on commit a86d643

Please sign in to comment.