asm: moved includes to include/asm/

Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
This commit is contained in:
Vegard Nossum
2009-06-11 09:14:19 +02:00
parent 26150fa9d4
commit cd779b9511
22 changed files with 101 additions and 240 deletions

41
include/asm/fstack.h Normal file
View File

@@ -0,0 +1,41 @@
/* fstack.h
*
* Contains some assembler-wide defines and externs
*
* Copyright 1997 Carsten Sorensen
*
*/
#ifndef ASMOTOR_ASM_FSTACK_H
#define ASMOTOR_ASM_FSTACK_H
#include "asm/asm.h"
#include "asm/types.h"
#include "asm/lexer.h"
struct sContext {
YY_BUFFER_STATE FlexHandle;
struct sSymbol *pMacro;
struct sContext *pNext;
char tzFileName[_MAX_PATH + 1];
char *tzMacroArgs[MAXMACROARGS + 1];
SLONG nLine;
ULONG nStatus;
FILE *pFile;
char *pREPTBlock;
ULONG nREPTBlockCount;
ULONG nREPTBlockSize;
};
extern ULONG fstk_RunInclude(char *s);
extern void fstk_RunMacroArg(SLONG s);
extern ULONG fstk_Init(char *s);
extern void fstk_Dump(void);
extern void fstk_AddIncludePath(char *s);
extern ULONG fstk_RunMacro(char *s);
extern void fstk_RunRept(ULONG count);
extern void fstk_FindFile(char *s);
extern int yywrap(void);
#endif