ack/util/opt/lookup.h

24 lines
399 B
C
Raw Normal View History

1984-05-17 13:42:36 +00:00
#define IDL 8
struct sym {
sym_p s_next;
char s_name[IDL];
offset *s_rom;
short s_flags;
short s_frag;
offset s_value;
};
/* contents of .s_flags */
#define SYMPRO 000001
#define SYMGLOBAL 000002
#define SYMKNOWN 000004
#define SYMOUT 000010
#define SYMDEF 000020
#define NSYMHASH 127
extern sym_p symhash[NSYMHASH],symlookup();
#define OCCURRING 0
#define DEFINING 1
#define NOTHING 2