summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-12-29 00:02:12 -0500
committerJune McEnroe <june@causal.agency>2020-12-29 00:02:12 -0500
commita14dc44400a5e0cd7db96bd7b91e2534a1658525 (patch)
treef891497ac29c6aab092ddec32a8d371f0f60c0db
parentAdd hilex IRC formatter (diff)
downloadsrc-a14dc44400a5e0cd7db96bd7b91e2534a1658525.tar.gz
src-a14dc44400a5e0cd7db96bd7b91e2534a1658525.zip
Match Objective-C #import in C lexer
Diffstat (limited to '')
-rw-r--r--bin/hilex/c.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hilex/c.l b/bin/hilex/c.l
index e208d76b..ea29abb8 100644
--- a/bin/hilex/c.l
+++ b/bin/hilex/c.l
@@ -106,7 +106,7 @@ register|restrict|return|static|struct|switch|typedef|union|volatile|while |
 	BEGIN(pop = MacroLine);
 	return Macro;
 }
-^"#"[[:blank:]]*"include" {
+^"#"[[:blank:]]*("include"|"import") {
 	BEGIN(pop = MacroInclude);
 	return Macro;
 }