diff options
author | June McEnroe <june@causal.agency> | 2019-07-25 23:12:55 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-07-25 23:12:55 -0400 |
commit | 8d53c3d396e6b95bbb31302d69d1301fa1b76503 (patch) | |
tree | 941a5c412c52d79c74ffaf1e958d2dfbc402b9fa /bin | |
parent | Generate index.html with links from bin.7 (diff) | |
download | src-8d53c3d396e6b95bbb31302d69d1301fa1b76503.tar.gz src-8d53c3d396e6b95bbb31302d69d1301fa1b76503.zip |
Don't match comments in strings in make
Diffstat (limited to 'bin')
-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 9bc6aaa2..50ce9109 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 }, |