Permalink
Browse files

! and = no longer are group modifiers

  • Loading branch information...
ingydotnet committed Aug 6, 2012
1 parent be2ded9 commit bc12f7b3eae23723b8b3b5d25550ea5955942b7c
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/Pegex/Bootstrap.pm
  2. +2 −2 t/compiler-checks.t
View
@@ -12,7 +12,7 @@ extends 'Pegex::Compiler';
use Pegex::Grammar::Atoms;
my $modifier = qr{[\!\=\-\+\.]};
-my $group_modifier = qr{[\!\=\.]};
+my $group_modifier = qr{[\.]};
my $quantifier = qr{(?:[\?\*\+]|\d+(?:\+|\-\d+)?)};
sub parse {
View
@@ -147,10 +147,10 @@ a:
=== Bracketed Group With Leading Modifier
--- grammar
-a: !( =<x> <y> )
+a: .( =<x> <y> )
--- yaml
a:
- +asr: -1
+ -skip: 1
.all:
- +asr: 1
.ref: x

0 comments on commit bc12f7b

Please sign in to comment.