summary refs log tree commit diff
path: root/bin
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
commit04c535f888fca45ce07924c6b2ec47f16c961891 (patch)
treeda09a086ca49df6a847d98cfb814860f3b3bed5e /bin
parentAdd hilex IRC formatter (diff)
downloadsrc-04c535f888fca45ce07924c6b2ec47f16c961891.tar.gz
src-04c535f888fca45ce07924c6b2ec47f16c961891.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 d8508c36..e6bd9ad0 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;
 }