fix: now compiles and works for simple commands + clang format
This commit is contained in:
parent
6099bbb9e3
commit
352c122549
23 changed files with 168 additions and 150 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue