diff options
| author | Ákos Kőrösi <korakos99@gmail.com> | 2026-05-21 20:30:04 +0200 |
|---|---|---|
| committer | Ákos Kőrösi <korakos99@gmail.com> | 2026-05-21 20:30:04 +0200 |
| commit | 3c283f1e2f4ef6b89481480c43fbc4408cd71a51 (patch) | |
| tree | 0e66eef811fadeb85cfbb03820f8cd49fd0dd943 /src/main.c | |
| parent | b56361b4687359f21c581367b05c8b74d0ff769e (diff) | |
start builtins
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -15,11 +15,10 @@ int main() { while (1) { line = readline("$ "); if (line[0] == '\0') continue; - if (strcmp(line, "exit") == 0) exit(0); add_history(line); Ast ast = lex(line); PipelineTree pltree = process_ast(ast, &shstate); - execute_pipeline_tree(pltree); + execute_pipeline_tree(pltree, &shstate); } free(line); } |
