Skip to content

Commit 9b1a88a

Browse files
committed
Eliminates sym index duplicate, #1912
1 parent 0a92a89 commit 9b1a88a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/Language/grammars.pod6

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ into effect for the Regex:
8181
say so 'once upon a time' ~~ &space-y; # OUTPUT: «True␤»
8282
=end code
8383
84-
=head1 X<Creating Grammars>
84+
=head1 X<Creating Grammars|declarator, grammar>
8585
=SUBTITLE Group of named regexes that form a formal grammar
8686
8787
L<Grammar|/type/Grammar> is the superclass that classes automatically get when
@@ -92,7 +92,7 @@ L<action object|/language/grammars#Action_Objects> is recommended to be used in
9292
conjunction with the grammar.
9393
9494
95-
=head2 X«Proto regexes| sym; :sym<>; proto regex;declarator,grammar»
95+
=head2 X«Proto regexes| :sym<>; proto regex»
9696
9797
L<Grammar|/type/Grammar>s are composed of rules, tokens and regexes;
9898
they are actually methods, since grammars are classes. These methods
@@ -235,7 +235,7 @@ You can also redefine the default C<ws> token:
235235
}.parse: "4 \n\n 5"; # Fails
236236
237237
238-
=head3 X<C<sym>|sym>
238+
=head3 X«C<sym>|<sym>»
239239
240240
The C«<sym>» token can be used inside proto regexes to match the string value of the C<:sym>
241241
adverb for that particular regex:

0 commit comments

Comments
 (0)