35 lines
593 B
C
35 lines
593 B
C
/*************/
|
|
/*GEMWIRE */
|
|
/* ERYTHRO*/
|
|
/*************/
|
|
|
|
#pragma once
|
|
#include <stdio.h>
|
|
#include <Defs.h>
|
|
|
|
#ifndef extern_
|
|
#define extern_ extern
|
|
#endif
|
|
|
|
#define TEXTLEN 512
|
|
#define SYMBOLS 1024
|
|
|
|
extern_ struct SymbolTable Symbols[SYMBOLS];
|
|
|
|
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; |