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

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

[nongnu] elpa/gnuplot ba3728a 113/184: Fix syntax-propertize rules for e


From: ELPA Syncer
Subject: [nongnu] elpa/gnuplot ba3728a 113/184: Fix syntax-propertize rules for empty strings
Date: Sun, 29 Aug 2021 11:03:27 -0400 (EDT)

branch: elpa/gnuplot
commit ba3728a59922a0435a912775087d918eecfe3fdb
Author: joddie <jonxfield@gmail.com>
Commit: joddie <jonxfield@gmail.com>

    Fix syntax-propertize rules for empty strings
---
 gnuplot.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnuplot.el b/gnuplot.el
index 26e5e86..c67f2e6 100644
--- a/gnuplot.el
+++ b/gnuplot.el
@@ -1817,7 +1817,7 @@ These are highlighted using `font-lock-constant-face'.")
        ;; Double quoted strings
        ((rx
          (group "\"")
-         (+ (or (seq "\\" anything)
+         (* (or (seq "\\" anything)
                 (not (any "\"" "\n"))))
          (group (or "\"" "\n" buffer-end)))
         (1 "|") (2 "|"))
@@ -1825,7 +1825,7 @@ These are highlighted using `font-lock-constant-face'.")
        ;; Single quoted strings
        ((rx
          (group "'")
-         (+ (or (seq "\\" "\n")
+         (* (or (seq "\\" "\n")
                 "''"
                 (not (any "'" "\n"))))
          (group (or "'" "\n" buffer-end)))
@@ -1834,7 +1834,7 @@ These are highlighted using `font-lock-constant-face'.")
        ;; Comments
        ((rx
          (group "#")
-         (+ (or (seq "\\" "\n")
+         (* (or (seq "\\" "\n")
                 any))
          (or (group "\n") buffer-end))
         (1 "!") (2 "!")))))



reply via email to

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