From 77b2ae9b24d07770fdd22530bf22061a275cc0f0 Mon Sep 17 00:00:00 2001 From: lemon Date: Tue, 16 Aug 2022 05:32:02 +0200 Subject: change 'not' to '!' it looks nicer --- src/cffc.hff | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cffc.hff') 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; -- cgit v1.2.3