/* MasC interpreter/compiler
   (Master Assembly Script Container)
   written by Jared Bruni
   
   After reading Writing Compilers and Interpreters A approach using C++ by Ronald Mak
   and the Dragon Book
   code completly re-written but using concepts teached in this book
*/
// errors header file

#ifndef __error__h_
#define __error__h_

#include<stdio.h>
#include "globals.h"
#include<stdlib.h>

enum syntax_err { MasMissing = 0, MissingOBlock, ObjectMissing , NOT_VAR};
static char *syntax_err[] = {"Mas Keyword not first.!", "Missing Opening { after variable decleration", "Missing Mas Object Name",
"Token in variable decleration not var& , var$, var#",

};

void printError(const char *str);
void printSyntaxError(enum syntax_err err);
void Abort();

#endif

