aboutsummaryrefslogtreecommitdiff
path: root/printing.c
diff options
context:
space:
mode:
Diffstat (limited to 'printing.c')
-rw-r--r--printing.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/printing.c b/printing.c
index 20289da..f35957f 100644
--- a/printing.c
+++ b/printing.c
@@ -1,6 +1,6 @@
-/*
- * printing.c - Code for printing and visualizing matches.
- */
+//
+// printing.c - Code for printing and visualizing matches.
+//
#include <stdio.h>
#include <stdlib.h>
@@ -184,9 +184,9 @@ static void print_line_number(FILE *out, print_state_t *state, print_options_t o
fprintf(out, "% 5ld|", state->line);
}
-/*
- * Print a match with replacements and highlighting.
- */
+//
+// Print a match with replacements and highlighting.
+//
static void _print_match(FILE *out, file_t *f, match_t *m, print_state_t *state, print_options_t options)
{
static const char *hl = "\033[0;31;1m";