Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix code example to not emit warnings when run
  • Loading branch information
zoffixznet committed Nov 25, 2015
1 parent 9e567b0 commit 788b09c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/Language/grammars.pod
Expand Up @@ -60,8 +60,8 @@ C<rule> declarator causes L<C<:sigspace>|/language/regexes#Sigspace> to go
into effect for the Regex:
=begin code :allow<B>
my token non-space-y { once upon a time }
my rule space-y { once upon a time }
my token non-space-y { 'once' 'upon' 'a' 'time' }
my rule space-y { 'once' 'upon' 'a' 'time' }
say 'onceuponatime' ~~ &non-space-y;
say 'once upon a time' ~~ &space-y;
=end code
Expand Down

0 comments on commit 788b09c

Please sign in to comment.