diff options
| author | 2022-08-16 05:32:02 +0200 | |
|---|---|---|
| committer | 2022-08-16 05:32:02 +0200 | |
| commit | 77b2ae9b24d07770fdd22530bf22061a275cc0f0 (patch) | |
| tree | 8012f9730b1a2e725b45a2255e7c7a0e6eefc40a /src/cffc.hff | |
| parent | 73f68a9c5ed4c8139cc1c4f7695da29e5a3fb4c8 (diff) | |
change 'not' to '!'
it looks nicer
Diffstat (limited to 'src/cffc.hff')
| -rw-r--r-- | src/cffc.hff | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cffc.hff b/src/cffc.hff index 3824a14..82c9081 100644 --- a/src/cffc.hff +++ b/src/cffc.hff @@ -22,7 +22,7 @@ enum TokT : i32 { kw_and, kw_as, kw_break, kw_case, kw_const, kw_continue, kw_def, kw_defmacro, kw_do, kw_else, kw_enum, kw_extern, kw_fn, - kw_for, kw_if, kw_import, kw_let, kw_not, + kw_for, kw_if, kw_import, kw_let, kw_or, kw_return, kw_sizeof, kw_static, kw_struct, kw_switch, kw_typedef, kw_typeof, kw_union, kw_while, @@ -225,7 +225,7 @@ fn constify(ty *const Type) *const Type { return interntype(ty2); } fn unconstify(ty *const Type) *const Type { - if not ty.konst { + if !ty.konst { return ty; } let ty2 = *ty; |