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

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

[nongnu] elpa/raku-mode 6c97f87fd8 135/253: Correctly highlight ::*Foo::


From: ELPA Syncer
Subject: [nongnu] elpa/raku-mode 6c97f87fd8 135/253: Correctly highlight ::*Foo::Bar
Date: Sat, 29 Jan 2022 08:28:48 -0500 (EST)

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

    Correctly highlight ::*Foo::Bar
---
 perl6-font-lock.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/perl6-font-lock.el b/perl6-font-lock.el
index 5c85bbe60c..de3546d2f8 100644
--- a/perl6-font-lock.el
+++ b/perl6-font-lock.el
@@ -626,11 +626,12 @@ LIMIT can be used to bound the search."
     ;; identifiers with colons
     (,(perl6-rx
        (or symbol-start
-           (and "::" (opt "?")))
+           (and "::" (group (opt (regex "[?*]")))))
        identifier
        (opt (0+ "::" identifier))
        (opt "::"))
-     0 'perl6-identifier)
+     (0 'perl6-identifier)
+     (1 'perl6-twigil t t))
     ;; numbers
     (,(perl6-rx (or bol (regex "[^[:digit:]]")) number)
      (1 'perl6-number)



reply via email to

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