]> git.sur5r.net Git - cc65/blob - src/cc65/preproc.h
This commit was generated by cvs2svn to compensate for changes in r2,
[cc65] / src / cc65 / preproc.h
1 /*
2  * preproc.h
3  *
4  * Ullrich von Bassewitz, 07.06.1998
5  */
6
7
8
9 #ifndef PREPROC_H
10 #define PREPROC_H
11
12
13
14 /*****************************************************************************/
15 /*                                   data                                    */
16 /*****************************************************************************/
17
18
19
20 /* Token table entry */
21 struct tok_elt {
22     char *toknam;
23     int toknbr;
24 };
25
26 /* Set when the pp calls expr() recursively */
27 extern unsigned char Preprocessing;
28
29
30
31 /*****************************************************************************/
32 /*                                   code                                    */
33 /*****************************************************************************/
34
35
36
37 int searchtok (const char *sym, const struct tok_elt* toks);
38 /* Search a token in a table */
39
40 void preprocess (void);
41 /* Preprocess a line */
42
43
44
45 /* End of preproc.h */
46 #endif
47
48
49
50
51