aboutsummaryrefslogtreecommitdiff
path: root/printing.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-01-12 21:04:43 -0800
committerBruce Hill <bruce@bruce-hill.com>2021-01-12 21:04:43 -0800
commitb27b71608b3ba4715d629c597efd17c124a8cc22 (patch)
tree2fa57476196f91a9fe54780ef0b014cee6e967d7 /printing.c
parent88219f49965c61b116da9f022bd04546d414fe17 (diff)
Standardizing to line-comments instead of block comments
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";