forked from MirrorRepos/RomWBW
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
561 B
28 lines
561 B
/* ===========================================================================
|
|
* uz80as, an assembler for the Zilog Z80 and several other microprocessors.
|
|
*
|
|
* Include file stack.
|
|
* ===========================================================================
|
|
*/
|
|
|
|
#ifndef INCL_H
|
|
#define INCL_H
|
|
|
|
#ifndef STDIO_H
|
|
#define STDIO_H
|
|
#include <stdio.h>
|
|
#endif
|
|
|
|
struct incfile {
|
|
struct incfile *prev;
|
|
FILE *fin;
|
|
int linenum;
|
|
char *name;
|
|
};
|
|
|
|
void pushfile(const char *p, const char *q);
|
|
void popfile(void);
|
|
struct incfile *curfile(void);
|
|
int nfiles(void);
|
|
|
|
#endif
|
|
|