This commit is contained in:
parent
5e18b667ef
commit
bf7bd6c3ea
15 changed files with 350 additions and 161 deletions
|
@ -23,25 +23,19 @@ public:
|
|||
void setCurrentParser(class myparser *_parser) {m_currentParser=_parser;}
|
||||
class myparser *getCurrentParser() {return m_currentParser;}
|
||||
|
||||
int getCurrentLine() {return m_lineCount+1;}
|
||||
int getCurrentCharOnLine() {return m_currentCharOnLine;}
|
||||
int getErrorCount() {return m_errorCount;}
|
||||
|
||||
void error();
|
||||
void error();
|
||||
int getErrorCount();
|
||||
|
||||
// Overridden lexer functions
|
||||
int yygetchar();
|
||||
int yygetchar();
|
||||
|
||||
private:
|
||||
// FILE *m_fhInput;
|
||||
int m_charCount;
|
||||
int m_lineCount;
|
||||
int m_currentCharOnLine;
|
||||
int m_errorCount;
|
||||
void unexpectedChar();
|
||||
|
||||
|
||||
class myparser *m_currentParser;
|
||||
|
||||
#line 45 "C:\\spongebob\\Utils\\scripter\\lexer.h"
|
||||
#line 39 "C:\\spongebob\\Utils\\scripter\\lexer.h"
|
||||
};
|
||||
|
||||
#ifndef YYLEXNAME
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue