From 83286e886c425df93ebdfc3f60aed65e823f5561 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Thu, 25 Jul 2019 23:12:55 -0400 Subject: Don't match comments in strings in make --- 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 3f2d35cf..d2491701 100644 --- a/bin/hi.c +++ b/bin/hi.c @@ -161,7 +161,7 @@ static const struct Syntax MakeSyntax[] = { .pattern = "[$][{](" "[^$}]" "|" "[$][{][^}]*[}]" ")*[}]" }, { Escape, .pattern = "[$][$]" }, - { Comment, + { Comment, .parent = ~SET(String), .pattern = "#.*" }, { Todo, .parent = SET(Comment), .pattern = PATTERN_TODO }, -- cgit 1.4.1