diff options
Diffstat (limited to 'bcc/sc.h')
-rw-r--r-- | bcc/sc.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/bcc/sc.h b/bcc/sc.h new file mode 100644 index 0000000..c17536a --- /dev/null +++ b/bcc/sc.h @@ -0,0 +1,27 @@ +/* sc.h - storage classes for bcc */ + +/* Copyright (C) 1992 Bruce Evans */ + +#ifdef MC6809 +#define DIRECTPAGE 0x01 /* modifier on global to show in dpseg */ +#endif +#define EXTERNAL 0x02 /* external */ +#define STATIC 0x04 + +/* symbols with flags above the 1st initialised value are not to be dumped */ + +#define MAXDUMPFLAG 0x07 +#define INITIALIZED 0x08 /* modifier on global to show initialized */ +#define LABELLED 0x10 /* modifier on static to show labelled */ + /* and on STRING to show labelled */ + +/* remaining "flags" are numbers, not flags */ +/* they are disjoint from all combinations of flags above */ +/* except STRING => LABELLED (and no other flags) */ + +#define DEFINITION 0x20 /* #defined name */ +#define KEYWORD 0x40 /* reserved word for C */ +#define STRUCTNAME 0x60 /* struct/union name or member name */ +#define REGVAR 0x80 /* register variable */ +#define TEMP 0xa0 /* temporary on stack expression eval */ +#define STRING 0xc0 /* string constant (=> LABELLED) */ |