summaryrefslogtreecommitdiffstats
path: root/vhdlparser/TokenManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'vhdlparser/TokenManager.h')
-rw-r--r--vhdlparser/TokenManager.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/vhdlparser/TokenManager.h b/vhdlparser/TokenManager.h
index 9aed782..0c2caa6 100644
--- a/vhdlparser/TokenManager.h
+++ b/vhdlparser/TokenManager.h
@@ -1,10 +1,12 @@
-/* Generated By:JavaCC: Do not edit this line. TokenManager.h Version 6.1 */
+/* Generated By:JavaCC: Do not edit this line. TokenManager.h Version 6.2 */
/* 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 {
@@ -19,10 +21,10 @@ public:
/** This gets the next token from the input stream.
* A token of kind 0 (<EOF>) should be returned on EOF.
*/
- public: virtual Token *getNextToken() = 0;
- public: virtual ~TokenManager() { }
- public: virtual void lexicalError() {
- fprintf(stderr, "Lexical error encountered.\n");
+ virtual ~TokenManager() { }
+ virtual Token *getNextToken() = 0;
+ virtual void lexicalError() {
+ cerr << "Lexical error encountered." << endl;
}
};
@@ -30,4 +32,4 @@ public:
}
}
#endif
-/* JavaCC - OriginalChecksum=c9208158050f6de2e723c580fee8011c (do not edit this line) */
+/* JavaCC - OriginalChecksum=918e2eba53e028d6c4142283ce3f498f (do not edit this line) */