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

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

[nongnu] elpa/raku-mode 299099e246 102/253: Simplify variable fontificat


From: ELPA Syncer
Subject: [nongnu] elpa/raku-mode 299099e246 102/253: Simplify variable fontification
Date: Sat, 29 Jan 2022 08:28:46 -0500 (EST)

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

    Simplify variable fontification
---
 perl6-font-lock.el | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/perl6-font-lock.el b/perl6-font-lock.el
index 750b0dddc6..51a22384dc 100644
--- a/perl6-font-lock.el
+++ b/perl6-font-lock.el
@@ -502,7 +502,7 @@ LIMIT can be used to bound the search."
                 (group (opt (char ".^*?=!~:")))
                 (group (opt (or (and "::" (0+ (and identifier "::")))
                                 (1+ identifier "::"))))
-                (group (or (1+ digit)
+                (group (or (or digit (char "/!¢"))
                            (and identifier symbol-end))))
      (1 'perl6-sigil)
      (2 'perl6-twigil)
@@ -523,9 +523,6 @@ LIMIT can be used to bound the search."
      (0 'perl6-routine)
      (,(perl6-rx (1+ space) (group identifier))
       nil nil (1 'perl6-identifier)))
-    (,(rx (group "$") (group (any "0-9/!¢")))
-     (1 'perl6-sigil)
-     (2 'perl6-var-name))
     (,(perl6-rx (group symbol-start high-type) "(") 1 'perl6-type)
     (,(perl6-rx (group symbol-start identifier) "(") 1 'perl6-identifier)
     (,(perl6-rx



reply via email to

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