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 | 04c535f888fca45ce07924c6b2ec47f16c961891 (patch) | |
tree | da09a086ca49df6a847d98cfb814860f3b3bed5e /bin | |
parent | Add hilex IRC formatter (diff) | |
download | src-04c535f888fca45ce07924c6b2ec47f16c961891.tar.gz src-04c535f888fca45ce07924c6b2ec47f16c961891.zip |
Match Objective-C #import in C lexer
Diffstat (limited to '')
-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 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; } |