/* 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
*/

// text input buffer structure and functions header file


#ifndef __textin__h_
#define __textin__h_
#include<stdio.h>
#include "globals.h"
#include "error.h"
#include <stdio.h>
#include <stdlib.h>

struct text_in {
       char *buff;
       FILE *pfile;
       char *ptr_c;     
};


void initText_in(const char *source_name, struct text_in *ti);
void freeText_in(struct text_in *ti);

#endif

