From ae75ab169ba6199cac4555570f6c33d1f5aa75e9 Mon Sep 17 00:00:00 2001 From: Ginger Bill Date: Sat, 27 Aug 2016 11:05:08 +0100 Subject: Pointer arithmetic builtin procedures --- src/checker/entity.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/checker/entity.cpp') diff --git a/src/checker/entity.cpp b/src/checker/entity.cpp index 90c4f3198..339eda248 100644 --- a/src/checker/entity.cpp +++ b/src/checker/entity.cpp @@ -39,11 +39,13 @@ struct Entity { struct { ExactValue value; } Constant; struct { b8 visited; // Cycle detection - b8 is_field; // Is struct field b8 used; // Variable is used - b8 anonymous; // Variable is an anonymous struct field + b8 is_field; // Is struct field + b8 anonymous; // Variable is an anonymous } Variable; - struct { b8 used; } Procedure; + struct { + b8 used; + } Procedure; struct { BuiltinProcId id; } Builtin; }; }; -- cgit v1.2.3