45 lines
841 B
C
45 lines
841 B
C
/*************/
|
|
/*GEMWIRE */
|
|
/* ERYTHRO*/
|
|
/*************/
|
|
|
|
#pragma once
|
|
#include <stdio.h>
|
|
#include <Defs.h>
|
|
#include <stdbool.h>
|
|
|
|
#ifndef extern_
|
|
#define extern_ extern
|
|
#endif
|
|
|
|
#define TEXTLEN 512
|
|
#define SYMBOLS 1024
|
|
|
|
extern_ struct SymbolTable Symbols[SYMBOLS];
|
|
|
|
extern_ bool OptDumpTree;
|
|
extern_ bool OptKeepAssembly;
|
|
extern_ bool OptAssembleFiles;
|
|
extern_ bool OptLinkFiles;
|
|
extern_ bool OptVerboseOutput;
|
|
|
|
extern_ char* OutputFileName;
|
|
extern_ char* CurrentASMFile, *CurrentObjectFile;
|
|
|
|
extern_ int TypeSizes[9];
|
|
extern_ char* TypeNames[9];
|
|
|
|
extern_ char* TokenNames[];
|
|
|
|
extern_ int CurrentFunction;
|
|
extern_ int Line;
|
|
extern_ int Overread;
|
|
|
|
extern_ FILE* SourceFile;
|
|
extern_ FILE* OutputFile;
|
|
|
|
extern_ struct Token CurrentToken;
|
|
extern_ char CurrentIdentifier[TEXTLEN + 1];
|
|
|
|
extern_ int CurrentGlobal;
|
|
extern_ int CurrentLocal; |