From 6ddfa26ecbd85385cf81a7f8f305177a5dd75d44 Mon Sep 17 00:00:00 2001 From: cuz Date: Mon, 30 Oct 2000 19:29:25 +0000 Subject: [PATCH] Change symbol flags, add initializer git-svn-id: svn://svn.cc65.org/cc65/trunk@404 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/common/symdefs.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 */ -- 2.39.5