Skip to content

Commit c0c7922

Browse files
authored
make actions a type object per the doc explanation
1 parent 4d14a8f commit c0c7922

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Language/grammars.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ A slightly more involved example follows:
363363
}
364364
}
365365
366-
my $actions = KeyValuePairsActions.new;
366+
my $actions = KeyValuePairsActions;
367367
my $res = KeyValuePairs.parse(q:to/EOI/, :$actions).made;
368368
second=b
369369
hits=42

0 commit comments

Comments
 (0)