(sh-font-lock-paren): Add [ and ] to the

set of chars allowed unquoted in a case pattern.
This commit is contained in:
Stefan Monnier 2003-07-04 20:37:49 +00:00
parent 618b5ae40f
commit d96da6c47a

View file

@ -904,7 +904,7 @@ be indented (i.e. a <<- was used rather than just <<)."
;; Skip through one pattern
(while
(or (/= 0 (skip-syntax-backward "w_"))
(/= 0 (skip-chars-backward "?*/\\"))
(/= 0 (skip-chars-backward "?[]*/\\"))
(and (sh-is-quoted-p (1- (point)))
(goto-char (- (point) 2)))
(when (memq (char-before) '(?\" ?\'))