diff options
author | June McEnroe <june@causal.agency> | 2020-12-29 00:02:12 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-12-29 00:02:12 -0500 |
commit | a14dc44400a5e0cd7db96bd7b91e2534a1658525 (patch) | |
tree | f891497ac29c6aab092ddec32a8d371f0f60c0db /bin | |
parent | Add hilex IRC formatter (diff) | |
download | src-a14dc44400a5e0cd7db96bd7b91e2534a1658525.tar.gz src-a14dc44400a5e0cd7db96bd7b91e2534a1658525.zip |
Match Objective-C #import in C lexer
Diffstat (limited to 'bin')
-rw-r--r-- | bin/hilex/c.l | 2 |
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; } |