--- a/stage1_2/stage1_2_priv.hh Mon Aug 04 15:14:25 2008 +0200
+++ b/stage1_2/stage1_2_priv.hh Tue Aug 12 16:14:12 2008 +0200
@@ -67,7 +67,6 @@
void print_include_stack(void);
-
/**************************************/
/* The name of the file being parsed. */
/**************************************/
@@ -81,7 +80,20 @@
*/
extern const char *current_filename;
+#define MAX_BUFFER_LENGTH 1000
+typedef struct {
+ int eof;
+ int lineNumber;
+ int currentChar;
+ int lineLength;
+ int currentTokenStart;
+ char* buffer;
+ FILE *in_file;
+ } tracking_t;
+
+int GetNextChar(char *b, int maxBuffer);
+tracking_t* GetNewTracking(FILE* in_file);
/****************************************************/
/* Controlling the entry to the body_state in flex. */