summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--bin/hi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hi.c b/bin/hi.c
index e7b826f8..d071a876 100644
--- a/bin/hi.c
+++ b/bin/hi.c
@@ -86,7 +86,7 @@ static const struct Syntax CSyntax[] = {
 		.pattern = "include" WS "(<[^>]*>)" },
 	{ String,
 		.pattern = "[LUu]?" PATTERN_SQ },
-	{ String,
+	{ String, .parent = ~SET(String),
 		.pattern = "([LU]|u8?)?" PATTERN_DQ },
 	{ Escape, .parent = SET(String),
 		.pattern = "[\\]([\"'?\\abfnrtv]|[0-7]{1,3}|x[0-9A-Fa-f]+)" },