feat: export handling, except exec
This commit is contained in:
parent
1367598047
commit
aa45e3d30f
5 changed files with 35 additions and 16 deletions
|
|
@ -71,7 +71,7 @@ struct ast *parse_prefix(struct lexer_context *ctx)
|
|||
if (token->type == TOKEN_ASSIGNMENT_WORD)
|
||||
{
|
||||
token = POP_TOKEN();
|
||||
return ast_create_assignment(token->data);
|
||||
return ast_create_assignment(token->data, false);
|
||||
}
|
||||
else if (is_first(*token, RULE_REDIRECTION))
|
||||
return parse_redirection(ctx);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue