Skip to content

Commit 788b09c

Browse files
committed
Fix code example to not emit warnings when run
1 parent 9e567b0 commit 788b09c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Language/grammars.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ C<rule> declarator causes L<C<:sigspace>|/language/regexes#Sigspace> to go
6060
into effect for the Regex:
6161
6262
=begin code :allow<B>
63-
my token non-space-y { once upon a time }
64-
my rule space-y { once upon a time }
63+
my token non-space-y { 'once' 'upon' 'a' 'time' }
64+
my rule space-y { 'once' 'upon' 'a' 'time' }
6565
say 'onceuponatime' ~~ &non-space-y;
6666
say 'once upon a time' ~~ &space-y;
6767
=end code

0 commit comments

Comments
 (0)