diff options
-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 af6a9a73e..6b910569f 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 | |||
4922 | 4922 | ||
4923 | #if BASH_DOLLAR_SQUOTE | 4923 | #if BASH_DOLLAR_SQUOTE |
4924 | /* Return code: 1 for "found and parsed", 0 for "seen something else" */ | 4924 | /* Return code: 1 for "found and parsed", 0 for "seen something else" */ |
4925 | #if BB_MMU | 4925 | # if BB_MMU |
4926 | #define parse_dollar_squote(as_string, dest, input) \ | 4926 | #define parse_dollar_squote(as_string, dest, input) \ |
4927 | parse_dollar_squote(dest, input) | 4927 | parse_dollar_squote(dest, input) |
4928 | #define as_string NULL | 4928 | #define as_string NULL |
4929 | #endif | 4929 | # endif |
4930 | static int parse_dollar_squote(o_string *as_string, o_string *dest, struct in_str *input) | 4930 | static int parse_dollar_squote(o_string *as_string, o_string *dest, struct in_str *input) |
4931 | { | 4931 | { |
4932 | int start; | 4932 | int start; |
@@ -5009,6 +5009,7 @@ static int parse_dollar_squote(o_string *as_string, o_string *dest, struct in_st | |||
5009 | } | 5009 | } |
5010 | 5010 | ||
5011 | return 1; | 5011 | return 1; |
5012 | # undef as_string | ||
5012 | } | 5013 | } |
5013 | #else | 5014 | #else |
5014 | # #define parse_dollar_squote(as_string, dest, input) 0 | 5015 | # #define parse_dollar_squote(as_string, dest, input) 0 |
@@ -5949,7 +5950,6 @@ static struct pipe *parse_stream(char **pstring, | |||
5949 | if (ctx.ctx_res_w == RES_MATCH) | 5950 | if (ctx.ctx_res_w == RES_MATCH) |
5950 | goto case_semi; | 5951 | goto case_semi; |
5951 | #endif | 5952 | #endif |
5952 | |||
5953 | case '}': | 5953 | case '}': |
5954 | /* proper use of this character is caught by end_trigger: | 5954 | /* proper use of this character is caught by end_trigger: |
5955 | * if we see {, we call parse_group(..., end_trigger='}') | 5955 | * if we see {, we call parse_group(..., end_trigger='}') |