diff options
Diffstat (limited to 'vhdlparser/TokenManager.h')
-rw-r--r-- | vhdlparser/TokenManager.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/vhdlparser/TokenManager.h b/vhdlparser/TokenManager.h index 0c2caa6..df371d9 100644 --- a/vhdlparser/TokenManager.h +++ b/vhdlparser/TokenManager.h @@ -1,12 +1,10 @@ -/* Generated By:JavaCC: Do not edit this line. TokenManager.h Version 6.2 */ +/* Generated By:JavaCC: Do not edit this line. TokenManager.h Version 6.0 */ /* JavaCCOptions:STATIC=false,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */ #ifndef TOKENMANAGER_H #define TOKENMANAGER_H -#include <iostream> #include "JavaCC.h" #include "Token.h" -using namespace std; namespace vhdl { namespace parser { @@ -21,10 +19,10 @@ public: /** This gets the next token from the input stream. * A token of kind 0 (<EOF>) should be returned on EOF. */ - virtual ~TokenManager() { } - virtual Token *getNextToken() = 0; - virtual void lexicalError() { - cerr << "Lexical error encountered." << endl; + public: virtual Token *getNextToken() = 0; + public: virtual ~TokenManager() { } + public: virtual void lexicalError() { + fprintf(stderr, "Lexical error encountered.\n"); } }; @@ -32,4 +30,4 @@ public: } } #endif -/* JavaCC - OriginalChecksum=918e2eba53e028d6c4142283ce3f498f (do not edit this line) */ +/* JavaCC - OriginalChecksum=9e6cfa00cefe7e342b80eb59f1a114ff (do not edit this line) */ |