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

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

[nongnu] elpa/raku-mode a349f9a7ff 076/253: Also highlight labels after


From: ELPA Syncer
Subject: [nongnu] elpa/raku-mode a349f9a7ff 076/253: Also highlight labels after loop control statements
Date: Sat, 29 Jan 2022 08:28:44 -0500 (EST)

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

    Also highlight labels after loop control statements
---
 perl6-font-lock.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/perl6-font-lock.el b/perl6-font-lock.el
index a1f7a1c628..ab50e3c44f 100644
--- a/perl6-font-lock.el
+++ b/perl6-font-lock.el
@@ -501,6 +501,10 @@ GROUPS is allowed to reference optional match groups."
      0 'perl6-number)
     (,(perl6-rx line-start (0+ space) (group identifier ":") (or space 
line-end))
      1 'perl6-label)
+    (,(perl6-rx (symbol (or "goto" "next" "last" "redo"))
+                (0+ space)
+                (group (symbol identifier)))
+     1 'perl6-label)
     (,(perl6-rx (symbol identifier)) 0 'perl6-identifier)
     (,(perl6-rx operator-char) 0 'perl6-operator)
     (,(perl6-rx base-number)



reply via email to

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