diff --git a/src/Raku/Grammar.nqp b/src/Raku/Grammar.nqp index 6370bc6eb2c..728ce1f6cd4 100644 --- a/src/Raku/Grammar.nqp +++ b/src/Raku/Grammar.nqp @@ -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 {