fix: ast_redir and ast_assignment accorded for every part
This commit is contained in:
parent
e0032dd991
commit
98d18eef7d
8 changed files with 39 additions and 22 deletions
|
|
@ -198,7 +198,7 @@ struct ast *parse_simple_command(struct lexer_context *ctx)
|
|||
{
|
||||
return err_simple_command(command_elements, redirections);
|
||||
}
|
||||
if (prefix->type == AST_ASSIGNEMENT)
|
||||
if (prefix->type == AST_ASSIGNMENT)
|
||||
{
|
||||
assignments = list_append(assignments, prefix);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue