diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-01-20 11:56:38 +0000 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-01-20 11:56:38 +0000 |
commit | 0905072b3ccfcb394b1dca2405a55cff4e2b9271 (patch) | |
tree | c7c6f87ecf257c4e7b6a92355e75030165731371 /includes/compiler/objects.h | |
parent | 7d986adf37220e1981a707745b784b078de4e3bc (diff) | |
download | MWCC-0905072b3ccfcb394b1dca2405a55cff4e2b9271.tar.gz MWCC-0905072b3ccfcb394b1dca2405a55cff4e2b9271.zip |
tons more renaming of stuff
Diffstat (limited to '')
-rw-r--r-- | includes/compiler/objects.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/includes/compiler/objects.h b/includes/compiler/objects.h index 5f56877..0f5d52f 100644 --- a/includes/compiler/objects.h +++ b/includes/compiler/objects.h @@ -188,14 +188,14 @@ struct ObjectTemplated { }; enum { - OBJECT_FLAGS_1 = 1, - OBJECT_FLAGS_2 = 2, - OBJECT_FLAGS_4 = 4, - OBJECT_FLAGS_8 = 8, - OBJECT_FLAGS_10 = 0x10, // internal - OBJECT_FLAGS_20 = 0x20, // import - OBJECT_FLAGS_40 = 0x40, // export - OBJECT_FLAGS_60 = 0x60 // lib export + OBJECT_USED = 1, + OBJECT_FLAGS_2 = 2, // this object has been used in certain contexts (figure me out?) + OBJECT_DEFINED = 4, + OBJECT_LAZY = 8, // this object will be created by a CParser callback action only if referenced + OBJECT_INTERNAL = 0x10, + OBJECT_IMPORT = 0x20, + OBJECT_EXPORT = 0x40, + OBJECT_LIB_EXPORT = 0x60 }; #define OBJ_BASE(obj) ((ObjBase *) (obj)) @@ -209,7 +209,7 @@ enum { #define OBJECT_TEMPL(obj) ((ObjectTemplated *) (obj)) -struct VarInfo { // OK! +struct VarInfo { Object *func; SInt32 usage; TStreamElement deftoken; |