diff options
| author | Stefan Monnier | 2012-10-30 23:10:25 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2012-10-30 23:10:25 -0400 |
| commit | 3618df4590230a7321aea685705eda63bf47116b (patch) | |
| tree | 2d757a4d6e3ab41a2523888fddccb52e3a06bc67 /test | |
| parent | b08b6da7fe21922d7e8838847cd065c88597b191 (diff) | |
| download | emacs-3618df4590230a7321aea685705eda63bf47116b.tar.gz emacs-3618df4590230a7321aea685705eda63bf47116b.zip | |
* lisp/progmodes/sh-script.el (sh--inside-noncommand-expression):
Rename from sh--inside-arithmetic-expression, handle more cases.
Fixes: debbugs:11263
Diffstat (limited to 'test')
| -rwxr-xr-x | test/indent/shell.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/indent/shell.sh b/test/indent/shell.sh index 0636e62a062..6f3447c3aa9 100755 --- a/test/indent/shell.sh +++ b/test/indent/shell.sh | |||
| @@ -9,6 +9,11 @@ echo -n $(( 5 << 2 )) | |||
| 9 | # This should not be treated as a heredoc (bug#12770). | 9 | # This should not be treated as a heredoc (bug#12770). |
| 10 | 2 | 10 | 2 |
| 11 | 11 | ||
| 12 | foo='bar<<' # bug#11263 | ||
| 13 | echo ${foo%<<aa} # bug#11263 | ||
| 14 | echo $((1<<8)) # bug#11263 | ||
| 15 | echo $[1<<8] # bug#11263 | ||
| 16 | |||
| 12 | declare -a VERSION | 17 | declare -a VERSION |
| 13 | for i in $(ls "$PREFIX/sbin") ; do | 18 | for i in $(ls "$PREFIX/sbin") ; do |
| 14 | echo -e $N')' $i | 19 | echo -e $N')' $i |