diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2012-10-30 23:10:25 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2012-10-30 23:10:25 -0400 |
commit | 3618df4590230a7321aea685705eda63bf47116b (patch) | |
tree | 2d757a4d6e3ab41a2523888fddccb52e3a06bc67 /test | |
parent | b08b6da7fe21922d7e8838847cd065c88597b191 (diff) | |
download | emacs-3618df4590230a7321aea685705eda63bf47116b.tar.gz |
* 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 )) # This should not be treated as a heredoc (bug#12770). 2 +foo='bar<<' # bug#11263 +echo ${foo%<<aa} # bug#11263 +echo $((1<<8)) # bug#11263 +echo $[1<<8] # bug#11263 + declare -a VERSION for i in $(ls "$PREFIX/sbin") ; do echo -e $N')' $i |