Skip to content

Commit 1fb778f

Browse files
committed
move <sigil> and <twigil>
... to HLL::Grammar since we are using it from NQP::Grammar and Perl6::Grammar.
1 parent 09bd1bc commit 1fb778f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/HLL/Grammar.pm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ grammar HLL::Grammar {
4949
]
5050
}
5151

52+
token sigil { <[$@%&]> }
53+
54+
token twigil { <[*!?]> }
55+
5256
token decint { [\d+]+ % '_' }
5357
token decints { [<.ws><decint><.ws>]+ % ',' }
5458

0 commit comments

Comments
 (0)