File: sc.h

package info (click to toggle)
linux86 0.16.21-2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,072 kB
  • sloc: ansic: 66,757; asm: 6,154; makefile: 1,374; sh: 703
file content (27 lines) | stat: -rw-r--r-- 1,011 bytes parent folder | download | duplicates (12)
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) */