Permalink
Browse files

Fix compilation of endsym annotations

  • Loading branch information...
1 parent 3909462 commit 14a888b5192e1d2747cbaa6240fd3397fa25e3a3 @sorear committed Oct 29, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 src/niecza
View
@@ -73,6 +73,13 @@ method nibbler() {
}
}
+augment class RxOp::Sym {
+ method clone(:$captures) {
+ self.WHAT.new(text => $!text, igcase => $!igcase, igmark => $!igmark,
+ endsym => $!endsym, :$captures);
+ }
+}
+
augment class NieczaActions {
method type_declarator:subset ($/) {
my ($basetype) = self.process_name($*OFTYPE<longname>);

0 comments on commit 14a888b

Please sign in to comment.