diff options
| author | Ginger Bill <bill@gingerbill.org> | 2016-08-27 11:05:08 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2016-08-27 11:05:08 +0100 |
| commit | ae75ab169ba6199cac4555570f6c33d1f5aa75e9 (patch) | |
| tree | 38d25d793f6d728b08099fb2764d1506cadf99b4 /src/checker/entity.cpp | |
| parent | 3a189b9c1ca273105ba030322e151efd85825482 (diff) | |
Pointer arithmetic builtin procedures
Diffstat (limited to 'src/checker/entity.cpp')
| -rw-r--r-- | src/checker/entity.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
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; }; }; |