emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 3767628: Revert "Fix typo in sh-assignment-regexp"


From: Andreas Schwab
Subject: [Emacs-diffs] master 3767628: Revert "Fix typo in sh-assignment-regexp"
Date: Sat, 13 Jul 2019 18:00:16 -0400 (EDT)

branch: master
commit 3767628dc534e64cdc21bdff16d5dd4726feacd2
Author: Andreas Schwab <address@hidden>
Commit: Andreas Schwab <address@hidden>

    Revert "Fix typo in sh-assignment-regexp"
    
    This reverts commit 194f370a3da72d560975adc2835254ce251881a7.
---
 lisp/progmodes/sh-script.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index 64608f1..ae90531 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -582,7 +582,7 @@ This is buffer-local in every such buffer.")
     ;; actually spaces are only supported in let/(( ... ))
     (ksh88 . ,(concat "\\<\\([[:alnum:]_]+\\)\\(\\[.+\\]\\)?"
                       "[ \t]*\\(?:[-+*/%&|~^]\\|<<\\|>>\\)?="))
-    (bash . "\\<\\([[:alnum:]_]+\\)\\([.+]\\)?\\+?=")
+    (bash . "\\<\\([[:alnum:]_]+\\)\\(\\[.+\\]\\)?\\+?=")
     (rc . "\\<\\([[:alnum:]_*]+\\)[ \t]*=")
     (sh . "\\<\\([[:alnum:]_]+\\)="))
   "Regexp for the variable name and what may follow in an assignment.



reply via email to

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