feat(execution): var assign
This commit is contained in:
parent
6cdcf3f36b
commit
e32715ce13
3 changed files with 10 additions and 1 deletions
|
|
@ -40,6 +40,8 @@ int execution(struct ast *ast, struct hash_map *vars)
|
|||
return exec_ast_list(ast_get_list(ast), vars);
|
||||
case AST_AND_OR:
|
||||
return exec_ast_and_or(ast_get_and_or(ast), vars);
|
||||
case AST_ASSIGNMENT:
|
||||
return exec_ast_assignment(ast_get_assignment(ast), vars);
|
||||
default:
|
||||
return 127;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue