From: cuz Date: Mon, 30 Oct 2000 19:29:25 +0000 (+0000) Subject: Change symbol flags, add initializer X-Git-Tag: V2.12.0~3122 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6ddfa26ecbd85385cf81a7f8f305177a5dd75d44;p=cc65 Change symbol flags, add initializer git-svn-id: svn://svn.cc65.org/cc65/trunk@404 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/common/symdefs.h b/src/common/symdefs.h index ffd371d3a..7576b4b7d 100644 --- a/src/common/symdefs.h +++ b/src/common/symdefs.h @@ -48,10 +48,18 @@ #define IMP_ABS 0x00 /* Import as normal value */ #define IMP_ZP 0x01 /* Import as zero page symbol */ +/* Size */ #define EXP_ABS 0x00 /* Export as normal value */ #define EXP_ZP 0x01 /* Export as zero page value */ -#define EXP_CONST 0x00 /* Mask bit for const values */ +#define EXP_MASK_SIZE 0x01 /* Size mask */ + +/* Type of value */ +#define EXP_CONST 0x00 /* Mask bit for const values */ #define EXP_EXPR 0x02 /* Mask bit for expr values */ +#define EXP_MASK_VAL 0x02 /* Value mask */ + +/* Initializer bit */ +#define EXP_INITIALIZER 0x04 /* Mask bit for initializer export */