aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/crunch.c8
1 files 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');
}
}