diff options
| author | 2022-08-16 05:33:10 +0200 | |
|---|---|---|
| committer | 2022-08-16 05:33:10 +0200 | |
| commit | 5bc23671b5569d86196643f58f4f70997383b4a4 (patch) | |
| tree | bffd86e3f0d67dcb1b7c0a70911f3120f6f88426 | |
| parent | 77b2ae9b24d07770fdd22530bf22061a275cc0f0 (diff) | |
syntax
| -rw-r--r-- | misc/cff.vim | 3 | ||||
| -rw-r--r-- | src/cffc.hff | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/misc/cff.vim b/misc/cff.vim index 4b87313..00f586a 100644 --- a/misc/cff.vim +++ b/misc/cff.vim @@ -13,9 +13,10 @@ syn keyword Include import syn keyword Macro defmacro syn keyword Type i8 u8 i16 u16 i32 u32 i64 u64 syn keyword Type int uint isize usize iptrint uptrint +syn keyword Type c_char c_long c_ulong c_llong c_ullong syn keyword Type bool void f32 f64 typeof syn keyword Structure struct enum union -syn keyword Operator sizeof as not and or +syn keyword Operator sizeof as and or syn match PreProc "#\i*\>" syn match PreProc "#?\>" diff --git a/src/cffc.hff b/src/cffc.hff index 82c9081..3ff78c4 100644 --- a/src/cffc.hff +++ b/src/cffc.hff @@ -96,7 +96,7 @@ struct Parser { enum UnOp { neg, - lnot, + not, compl, deref, addrof, |