diff options
Diffstat (limited to '')
-rw-r--r-- | bin/hi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hi.c b/bin/hi.c index 3c312c4a..f3295217 100644 --- a/bin/hi.c +++ b/bin/hi.c @@ -117,7 +117,7 @@ static const struct Syntax CSyntax[] = { "[AEFGXacdefginopsux]" // format specifier }, { Comment, .parent = ~SET(String), - .pattern = "//.*" }, + .pattern = "//(.|[\\]\n)*" }, { Comment, .parent = ~SET(String), .newline = true, .pattern = PATTERN_BC }, { Todo, .parent = SET(Comment), |