aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPhilippe Altherr2023-01-15 13:37:00 +0100
committerEli Zaretskii2023-03-02 12:49:32 +0200
commit68f49083af7ac5ffd9cde4bc7167d4e2ccbba4b6 (patch)
tree4c0b322bd1cf2a29796f92a53d0b0aeef65d8e3e /test
parent30e2a85717c4189994c7ae759888e257225f0a21 (diff)
downloademacs-68f49083af7ac5ffd9cde4bc7167d4e2ccbba4b6.tar.gz
emacs-68f49083af7ac5ffd9cde4bc7167d4e2ccbba4b6.zip
Add support for Zsh's case branches ;|.
* lisp/progmodes/sh-script.el (sh-font-lock-paren) (sh-smie-sh-grammar, sh-smie-sh-rules, sh-smie-rc-grammar): Support case branches ending with ";|", per Zsh. (Bug#60833) * test/manual/indent/shell.sh (bar): Add ";|".
Diffstat (limited to 'test')
-rwxr-xr-xtest/manual/indent/shell.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/manual/indent/shell.sh b/test/manual/indent/shell.sh
index bd4a74f7054..5b3fb0e66fb 100755
--- a/test/manual/indent/shell.sh
+++ b/test/manual/indent/shell.sh
@@ -140,6 +140,7 @@ foo () {
140 5) hello ;; 140 5) hello ;;
141 4) hello ;& 141 4) hello ;&
142 4) hello ;;& 142 4) hello ;;&
143 4) hello ;|
143 5) hello ;; 144 5) hello ;;
144 5) hello ;; 145 5) hello ;;
145 esac 146 esac