mirror of
https://github.com/sheumann/hush.git
synced 2024-11-09 02:09:01 +00:00
Fix $(...) construction. Noted and patched by Larry Doolittle
<ldoolitt@recycle.lbl.gov>. I'm just a patch whore. :)
This commit is contained in:
parent
bafd94f154
commit
9f8caf134f
1
hush.c
1
hush.c
@ -1950,6 +1950,7 @@ static int handle_dollar(o_string *dest, struct p_context *ctx, struct in_str *i
|
|||||||
lookup_param(dest, ctx, &alt);
|
lookup_param(dest, ctx, &alt);
|
||||||
break;
|
break;
|
||||||
case '(':
|
case '(':
|
||||||
|
b_getch(input);
|
||||||
process_command_subs(dest, ctx, input, ')');
|
process_command_subs(dest, ctx, input, ')');
|
||||||
break;
|
break;
|
||||||
case '*':
|
case '*':
|
||||||
|
@ -1950,6 +1950,7 @@ static int handle_dollar(o_string *dest, struct p_context *ctx, struct in_str *i
|
|||||||
lookup_param(dest, ctx, &alt);
|
lookup_param(dest, ctx, &alt);
|
||||||
break;
|
break;
|
||||||
case '(':
|
case '(':
|
||||||
|
b_getch(input);
|
||||||
process_command_subs(dest, ctx, input, ')');
|
process_command_subs(dest, ctx, input, ')');
|
||||||
break;
|
break;
|
||||||
case '*':
|
case '*':
|
||||||
|
Loading…
Reference in New Issue
Block a user