Skip to content

Commit 22c1f65

Browse files
committed
Index TOP and ws tokens
1 parent ccdf7c7 commit 22c1f65

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/Language/grammars.pod6

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ conjunction with the grammar.
7878
7979
=head2 Special Tokens
8080
81+
X<C<TOP>|class,Grammar>
8182
=head3 C<TOP>
8283
8384
grammar Foo {
@@ -92,6 +93,7 @@ C<token TOP> is automatically anchored to the start and end of the string
9293
9394
Using C<rule TOP> or C<regex TOP> are also acceptable.
9495
96+
X<C<ws>|class,Grammar>
9597
=head3 C<ws>
9698
9799
When C<rule> instead of C<token> is used, any whitespace after an

0 commit comments

Comments
 (0)