From 04c535f888fca45ce07924c6b2ec47f16c961891 Mon Sep 17 00:00:00 2001 From: June 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/hilex') 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; } -- cgit 1.4.1