Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
allow <*> in proto regex body
  • Loading branch information
moritz committed Feb 16, 2011
1 parent 99575b9 commit 15ba2db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/NQP/Grammar.pm
Expand Up @@ -433,7 +433,8 @@ rule regex_declarator {
<deflongname>
[
|| '{' '<...>' '}'<?ENDSTMT>
|| <.panic: "Proto regex body must be <...>">
|| '{' '<*>' '}'<?ENDSTMT>
|| <.panic: "Proto regex body must be <*> (or <...>, which is deprecated)">
]
| $<sym>=[regex|token|rule]
<deflongname>
Expand Down

0 comments on commit 15ba2db

Please sign in to comment.