Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
Enable typename parsing for parameters. Again, this simply
Browse files Browse the repository at this point in the history
parses the typenames, nothing is being done with the typenames
for now.
  • Loading branch information
pmichaud committed May 15, 2010
1 parent 08a765d commit cf979eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/NQP/Grammar.pm
Expand Up @@ -307,6 +307,7 @@ rule method_def {
token signature { [ [<.ws><parameter><.ws>] ** ',' ]? }

token parameter {
[ <typename> <.ws> ]* # <type_constraint>
[
| $<quant>=['*'] <param_var>
| [ <param_var> | <named_param> ] $<quant>=['?'|'!'|<?>]
Expand Down

0 comments on commit cf979eb

Please sign in to comment.