From e01aaa6a4c65534916e4d1754d74eb6ebd3cdab3 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Thu, 14 Mar 2019 19:07:54 -0400 Subject: Highlight line continuations in line comments --- bin/hi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/hi.c b/bin/hi.c index c6cdcc5a..6fab0a59 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), -- cgit 1.4.1