fix: now compiles and works for simple commands + clang format

This commit is contained in:
matteo 2026-01-17 19:11:55 +01:00
parent 6099bbb9e3
commit 352c122549
23 changed files with 168 additions and 150 deletions

View file

@ -69,9 +69,14 @@ int main(int argc, char **argv)
// Execute AST
return_code = execution(command_ast);
ast_free(&command_ast);
// Retrieve and build next AST
command_ast = get_ast();
}
ast_free(&command_ast);
if (command_ast == NULL)
return ERR_INPUT_PROCESSING;