* lisp/progmodes/sh-script.el (sh-assignment-regexp): Add entry for

bash.
This commit is contained in:
Andreas Schwab 2011-11-20 00:05:41 +01:00
parent 3ffbc301c0
commit e981b61f0f
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
* progmodes/sh-script.el (sh-assignment-regexp): Add entry for
bash.
2011-11-19 Juri Linkov <juri@jurta.org>
* info.el (Info-hide-note-references): Add `:set' tag to `defcustom'

View file

@ -567,6 +567,7 @@ This is buffer-local in every such buffer.")
'((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.