From 7a6c0d5a2b255e8ba72c93989a9cb70b746e9f68 Mon Sep 17 00:00:00 2001 From: Ákos Kőrösi Date: Sun, 17 May 2026 11:13:37 +0200 Subject: delete debug printer --- main.c | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/main.c b/main.c index e2414d5..b64e889 100644 --- a/main.c +++ b/main.c @@ -7,27 +7,6 @@ #include "parse.h" #include "exec.h" -void uglyprint_pl(Pipeline pl) { - for (int i = 0; i < pl.count; i++) { - printf("%d\n", i); - TokenVec toks = (*get_from_Pipeline(&pl, i)).cmd.args; - for (int j = 0; j < toks.count; j++) { - Token tok = *get_from_TokenVec(&toks, j); - if (tok.kind != TOK_WORD) { - printf(" [NON-WORD] "); - continue; - } - Word word = tok.as.word; - for (int k = 0; k < word.count; k++) { - Chunk chunk = *get_from_Word(&word, k); - if (chunk.kind == LITERAL) { - printf("%s", chunk.as.literal_str); - } - } - } - } -} - int main() { char* line; -- cgit v1.2.3