Fix $(...) construction. Noted and patched by Larry Doolittle

<ldoolitt@recycle.lbl.gov>.  I'm just a patch whore.  :)
This commit is contained in:
Matt Kraai 2001-05-02 16:26:12 +00:00
parent bafd94f154
commit 9f8caf134f
2 changed files with 2 additions and 0 deletions

1
hush.c
View File

@ -1950,6 +1950,7 @@ static int handle_dollar(o_string *dest, struct p_context *ctx, struct in_str *i
lookup_param(dest, ctx, &alt);
break;
case '(':
b_getch(input);
process_command_subs(dest, ctx, input, ')');
break;
case '*':

View File

@ -1950,6 +1950,7 @@ static int handle_dollar(o_string *dest, struct p_context *ctx, struct in_str *i
lookup_param(dest, ctx, &alt);
break;
case '(':
b_getch(input);
process_command_subs(dest, ctx, input, ')');
break;
case '*':