mirror of
https://github.com/cc65/cc65.git
synced 2024-06-09 22:29:35 +00:00
52 lines
841 B
C
52 lines
841 B
C
|
/*
|
||
|
* preproc.h
|
||
|
*
|
||
|
* Ullrich von Bassewitz, 07.06.1998
|
||
|
*/
|
||
|
|
||
|
|
||
|
|
||
|
#ifndef PREPROC_H
|
||
|
#define PREPROC_H
|
||
|
|
||
|
|
||
|
|
||
|
/*****************************************************************************/
|
||
|
/* data */
|
||
|
/*****************************************************************************/
|
||
|
|
||
|
|
||
|
|
||
|
/* Token table entry */
|
||
|
struct tok_elt {
|
||
|
char *toknam;
|
||
|
int toknbr;
|
||
|
};
|
||
|
|
||
|
/* Set when the pp calls expr() recursively */
|
||
|
extern unsigned char Preprocessing;
|
||
|
|
||
|
|
||
|
|
||
|
/*****************************************************************************/
|
||
|
/* code */
|
||
|
/*****************************************************************************/
|
||
|
|
||
|
|
||
|
|
||
|
int searchtok (const char *sym, const struct tok_elt* toks);
|
||
|
/* Search a token in a table */
|
||
|
|
||
|
void preprocess (void);
|
||
|
/* Preprocess a line */
|
||
|
|
||
|
|
||
|
|
||
|
/* End of preproc.h */
|
||
|
#endif
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|