commit | cbd6165076cbbf18e68a292f80c1d454fdbedc22 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Thu Oct 30 11:53:35 2014 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Oct 30 11:53:35 2014 +0800 |
tree | 820aeb2bbc6067dac888bbd157119a6a23052428 | |
parent | 7c245aa8ed33ba5db30eef9369d67036a05b0371 [diff] |
[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>