From 3e9426452656267dec8544a4517208b90849e6c3 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 15 Dec 2025 05:12:58 -0500 Subject: alf: improve -vv (ASCII art), probably not touching this again. --- src/crunch.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/crunch.c b/src/crunch.c index 2027f46..6f5dad6 100644 --- a/src/crunch.c +++ b/src/crunch.c @@ -60,9 +60,10 @@ void indent(int level) { int i; if(!level) return; - fputs("+-", stdout); - for(i = 1; i < level; i++) - fputs("--", stdout); + for(i = 0; i < level; i++) + fputs("| ", stdout); + + fputs("`-", stdout); } /* -vv */ @@ -124,6 +125,7 @@ void dump_tokens(void) { expanded_tok[0] = i; print_tok(i, 0); dump_kids(i, 1); + putchar('\n'); } } -- cgit v1.2.3