emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/raku-mode 6553c30843 093/253: Highlight ::?CLASS and such


From: ELPA Syncer
Subject: [nongnu] elpa/raku-mode 6553c30843 093/253: Highlight ::?CLASS and such correctly
Date: Sat, 29 Jan 2022 08:28:45 -0500 (EST)

branch: elpa/raku-mode
commit 6553c30843d5b81bd06e0563e111adc79866a78f
Author: Hinrik Örn Sigurðsson <hinrik.sig@gmail.com>
Commit: Hinrik Örn Sigurðsson <hinrik.sig@gmail.com>

    Highlight ::?CLASS and such correctly
---
 perl6-font-lock.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/perl6-font-lock.el b/perl6-font-lock.el
index 90bc64544a..754f6b301c 100644
--- a/perl6-font-lock.el
+++ b/perl6-font-lock.el
@@ -535,7 +535,8 @@ LIMIT can be used to bound the search."
                 (group (symbol identifier)))
      1 'perl6-label)
     (,(perl6-rx
-       (or symbol-start "::")
+       (or symbol-start
+           (and "::" (opt "?")))
        identifier
        (opt (0+ "::" identifier))
        (opt "::"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]