From a14dc44400a5e0cd7db96bd7b91e2534a1658525 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Tue, 29 Dec 2020 00:02:12 -0500 Subject: Match Objective-C #import in C lexer --- bin/hilex/c.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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; } -- cgit 1.4.1