aboutsummaryrefslogtreecommitdiff
path: root/bpeg.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2020-12-14 21:43:06 -0800
committerBruce Hill <bruce@bruce-hill.com>2020-12-14 21:43:06 -0800
commit52f154d53ffa9ac8fc4699d1559f9a68e91ebeeb (patch)
tree6459b540ab7f25c0973b6fc79ba6ca9aa27b091b /bpeg.c
parente4066302b943ecc44392a406161311e2f5c8a277 (diff)
Removed colon after filename in output
Diffstat (limited to 'bpeg.c')
-rw-r--r--bpeg.c4
1 files 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);
}