summaryrefslogtreecommitdiff
path: root/bcc/sc.h
blob: c17536af64558e3839594efd5bfe07a67b2f723f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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) */