Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix \(state $) misparse
  • Loading branch information
sorear committed Jul 12, 2011
1 parent ea9ecaa commit 8545ad6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/niecza
Expand Up @@ -115,6 +115,14 @@ method getsig {
}

augment grammar STD::P6 {
token capterm {
'\\'
[
| '(' ~ ')' <capture>?
| <?before \S> <termish>
| {} <.panic: "You can't backslash that">
]
}
rule package_def {
:my $longname;
:my $*IN_DECL = 'package';
Expand Down

0 comments on commit 8545ad6

Please sign in to comment.