From 52f154d53ffa9ac8fc4699d1559f9a68e91ebeeb Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 14 Dec 2020 21:43:06 -0800 Subject: Removed colon after filename in output --- bpeg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bpeg.c b/bpeg.c index 4e3ef5b..a8812d7 100644 --- a/bpeg.c +++ b/bpeg.c @@ -81,7 +81,7 @@ static int run_match(grammar_t *g, const char *filename, vm_op_t *pattern, unsig if (flags & BPEG_EXPLAIN) { if (filename) { - printf("\033[1;4m%s:\033[0m\n", filename); + printf("\033[1;4m%s\033[0m\n", filename); } /* if (printed_matches > 1) @@ -107,7 +107,7 @@ static int run_match(grammar_t *g, const char *filename, vm_op_t *pattern, unsig fputc('\n', stdout); if (filename) { if (print_options & PRINT_COLOR) - printf("\033[1;4;33m%s:\033[0m\n", filename); + printf("\033[1;4;33m%s\033[0m\n", filename); else printf("%s:\n", filename); } -- cgit v1.2.3