]> Shamusworld >> Repos - rmac/blob - symbol.h
More readability cleanups.
[rmac] / symbol.h
1 //
2 // RMAC - Reboot's Macro Assembler for the Atari Jaguar Console System
3 // SYMBOL.H - Symbol Handling
4 // Copyright (C) 199x Landon Dyer, 2011 Reboot and Friends
5 // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986
6 // Source Utilised with the Kind Permission of Landon Dyer
7 //
8
9 #ifndef __SYMBOL_H__
10 #define __SYMBOL_H__
11
12 #include "rmac.h"
13
14 // Macros
15 #define NBUCKETS        256                     // Number of hash buckets (power of 2)
16
17 // Globals, externals etc
18 extern int curenv;
19 extern char subttl[];
20
21 // Prototypes
22 SYM * lookup(char *, int, int);
23 void init_sym(void);
24 SYM * newsym(char *, int, int);
25 char * nstring(char *);
26 void sym_decl(SYM *);
27 int syg_fix(void);
28 int symtable(void);
29 int sy_assign(char *, char *(*)());
30
31 #endif // __SYMBOL_H__