From dba3b4487e645bbb5b361a4a1e81a8d1d993896a Mon Sep 17 00:00:00 2001 From: Elizabeth Mattijsen Date: Thu, 21 Sep 2023 13:21:20 +0200 Subject: [PATCH] RakuAST: restore apostrophe token Because at least the Slang::Piersing module depends on it. --- src/Raku/Grammar.nqp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 {