diff options
author | Denys Vlasenko | 2021-07-27 04:09:45 +0200 |
---|---|---|
committer | Denys Vlasenko | 2021-07-27 04:09:45 +0200 |
commit | 8dd676c6c3b862846a4a215f5f3a8822fcf8c569 (patch) | |
tree | cdb59b0832f9c0b9c932923c4945877f224608d5 | |
parent | b278d82c61ab5125b5c7e350b264c1f3d52d682b (diff) | |
download | busybox-8dd676c6c3b862846a4a215f5f3a8822fcf8c569.zip busybox-8dd676c6c3b862846a4a215f5f3a8822fcf8c569.tar.gz |
hush: add missed "undef"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | shell/hush.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/hush.c b/shell/hush.c index af6a9a7..6b91056 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -4922,11 +4922,11 @@ static int add_till_closing_bracket(o_string *dest, struct in_str *input, unsign #if BASH_DOLLAR_SQUOTE /* Return code: 1 for "found and parsed", 0 for "seen something else" */ -#if BB_MMU +# if BB_MMU #define parse_dollar_squote(as_string, dest, input) \ parse_dollar_squote(dest, input) #define as_string NULL -#endif +# endif static int parse_dollar_squote(o_string *as_string, o_string *dest, struct in_str *input) { int start; @@ -5009,6 +5009,7 @@ static int parse_dollar_squote(o_string *as_string, o_string *dest, struct in_st } return 1; +# undef as_string } #else # #define parse_dollar_squote(as_string, dest, input) 0 @@ -5949,7 +5950,6 @@ static struct pipe *parse_stream(char **pstring, if (ctx.ctx_res_w == RES_MATCH) goto case_semi; #endif - case '}': /* proper use of this character is caught by end_trigger: * if we see {, we call parse_group(..., end_trigger='}') |