feat: all merged
This commit is contained in:
commit
8f5733be19
5 changed files with 98 additions and 1 deletions
|
|
@ -76,6 +76,14 @@ int main(int argc, char **argv)
|
|||
// Retrieve and build first AST
|
||||
struct ast *command_ast = get_ast(ctx);
|
||||
|
||||
if (options.pretty_print)
|
||||
{
|
||||
ast_print_dot(command_ast);
|
||||
}
|
||||
|
||||
// Call the executor with the AST
|
||||
return_code = execution(command_ast);
|
||||
|
||||
// Main parse-execute loop
|
||||
while (command_ast != NULL && command_ast->type != AST_END)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue