Skip to content

Commit

Permalink
RakuAST: restore apostrophe token
Browse files Browse the repository at this point in the history
Because at least the Slang::Piersing module depends on it.
  • Loading branch information
lizmat committed Sep 21, 2023
1 parent 9866e7a commit dba3b44
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Raku/Grammar.nqp
Original file line number Diff line number Diff line change
Expand Up @@ -4321,8 +4321,12 @@ grammar Raku::Grammar is HLL::Grammar does Raku::Common {
#-------------------------------------------------------------------------------
# Identifiers
token apostrophe {
<[ ' \- ]>
}
token identifier {
<.ident> [ <[ ' \- ]> <.ident> ]*
<.ident> [ <.apostrophe> <.ident> ]*
}
token name {
Expand Down

0 comments on commit dba3b44

Please sign in to comment.