diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2020-12-14 21:43:06 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2020-12-14 21:43:06 -0800 |
| commit | 52f154d53ffa9ac8fc4699d1559f9a68e91ebeeb (patch) | |
| tree | 6459b540ab7f25c0973b6fc79ba6ca9aa27b091b /bpeg.c | |
| parent | e4066302b943ecc44392a406161311e2f5c8a277 (diff) | |
Removed colon after filename in output
Diffstat (limited to 'bpeg.c')
| -rw-r--r-- | bpeg.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |
