summary refs log tree commit diff
path: root/src/funcs/newgrp
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2014-10-30 11:53:35 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2014-10-30 11:53:35 +0800
commitcbd6165076cbbf18e68a292f80c1d454fdbedc22 (patch)
tree820aeb2bbc6067dac888bbd157119a6a23052428 /src/funcs/newgrp
parent[PARSER] Simplify EOF/newline handling in list parser (diff)
downloaddash-cbd6165076cbbf18e68a292f80c1d454fdbedc22.tar.gz
dash-cbd6165076cbbf18e68a292f80c1d454fdbedc22.zip
[PARSER] Catch variable length expansions on non-existant specials
Currently we only check special variable names that follow directly
after $ or ${.  So errors such as ${#&} are not caught.  This patch
fixes that by moving the is_special check to just before we print out
the special variable name.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src/funcs/newgrp')
0 files changed, 0 insertions, 0 deletions
ref='/src/commit/bin/hi.c?id=8d53c3d396e6b95bbb31302d69d1301fa1b76503&follow=1'>Don't match comments in strings in makeJune McEnroe 2019-07-25Generate index.html with links from bin.7June McEnroe 2019-07-24Warn when date has changedJune McEnroe 2019-07-24Add whenJune McEnroe 2019-07-24Remove histedit from bitJune McEnroe