emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r106436: * lisp/progmodes/sh-script.e


From: Andreas Schwab
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r106436: * lisp/progmodes/sh-script.el (sh-assignment-regexp): Add entry for
Date: Sun, 20 Nov 2011 00:05:41 +0100
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 106436
committer: Andreas Schwab <address@hidden>
branch nick: emacs
timestamp: Sun 2011-11-20 00:05:41 +0100
message:
  * lisp/progmodes/sh-script.el (sh-assignment-regexp): Add entry for
  bash.
modified:
  lisp/ChangeLog
  lisp/progmodes/sh-script.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-11-19 21:43:40 +0000
+++ b/lisp/ChangeLog    2011-11-19 23:05:41 +0000
@@ -1,3 +1,8 @@
+2011-11-19  Andreas Schwab  <address@hidden>
+
+       * progmodes/sh-script.el (sh-assignment-regexp): Add entry for
+       bash.
+
 2011-11-19  Juri Linkov  <address@hidden>
 
        * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'

=== modified file 'lisp/progmodes/sh-script.el'
--- a/lisp/progmodes/sh-script.el       2011-11-17 17:40:48 +0000
+++ b/lisp/progmodes/sh-script.el       2011-11-19 23:05:41 +0000
@@ -567,6 +567,7 @@
   '((csh . "\\<\\([[:alnum:]_]+\\)\\(\\[.+\\]\\)?[ \t]*[-+*/%^]?=")
     ;; actually spaces are only supported in let/(( ... ))
     (ksh88 . "\\<\\([[:alnum:]_]+\\)\\(\\[.+\\]\\)?[ 
\t]*\\([-+*/%&|~^]\\|<<\\|>>\\)?=")
+    (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]