feat: export handling, except exec

This commit is contained in:
Matteo Flebus 2026-01-30 19:37:05 +01:00
parent 1367598047
commit aa45e3d30f
5 changed files with 35 additions and 16 deletions

View file

@ -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);