From 1ca77f60626666fba792db407dd11ea9b597d9cf Mon Sep 17 00:00:00 2001 From: lemon Date: Tue, 16 Aug 2022 09:19:33 +0200 Subject: binary operators and more stuff --- src/cffc.hff | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/cffc.hff') diff --git a/src/cffc.hff b/src/cffc.hff index 3ff78c4..8cdf655 100644 --- a/src/cffc.hff +++ b/src/cffc.hff @@ -90,6 +90,7 @@ struct Parser { tokloc Loc, curloc Loc, eof bool, + is_header bool, peekchr Option, peektok Option, } @@ -242,7 +243,7 @@ fn mkarrtype(len i64, konst bool, child *const Type) *const Type { fn mkptrtype(child *const Type) *const Type { return interntype({ g_targ.ptrsize, - .u: :Ptr child + .u: :Ptr(child) }); } extern fn isnumtype(ty *const Type) bool; -- cgit v1.2.3