summaryrefslogtreecommitdiffstats
path: root/vhdlparser/VhdlParserTokenManager.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-11-06 18:54:14 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-11-06 19:26:28 (GMT)
commit475b0c51847271b04cb0e58254bd7e420445250b (patch)
tree646a9b912d517bbb6b0e710d099e3d742e95fa79 /vhdlparser/VhdlParserTokenManager.h
parente5076edf2c103d262a9e32d57fb40cfe210c9ddf (diff)
downloadDoxygen-475b0c51847271b04cb0e58254bd7e420445250b.zip
Doxygen-475b0c51847271b04cb0e58254bd7e420445250b.tar.gz
Doxygen-475b0c51847271b04cb0e58254bd7e420445250b.tar.bz2
Various VHDL fixes
Diffstat (limited to 'vhdlparser/VhdlParserTokenManager.h')
-rw-r--r--vhdlparser/VhdlParserTokenManager.h27
1 files changed, 16 insertions, 11 deletions
diff --git a/vhdlparser/VhdlParserTokenManager.h b/vhdlparser/VhdlParserTokenManager.h
index 3916069..f24c8e3 100644
--- a/vhdlparser/VhdlParserTokenManager.h
+++ b/vhdlparser/VhdlParserTokenManager.h
@@ -1,5 +1,6 @@
#ifndef VHDLPARSERTOKENMANAGER_H
#define VHDLPARSERTOKENMANAGER_H
+#include "stdio.h"
#include "JavaCC.h"
#include "CharStream.h"
#include "Token.h"
@@ -116,23 +117,27 @@ void TokenLexicalActions(Token *matchedToken);
public: virtual ~VhdlParserTokenManager();
void ReInit(JAVACC_CHARSTREAM *stream, int lexState = 0, VhdlParser *parserArg = NULL);
void SwitchTo(int lexState);
+ void clear();
const JAVACC_SIMPLE_STRING jjKindsForBitVector(int i, unsigned long long vec);
const JAVACC_SIMPLE_STRING jjKindsForStateVector(int lexState, int vec[], int start, int end);
- JAVACC_CHARSTREAM *input_stream;
- int jjrounds[75];
- int jjstateSet[2 * 75];
- JAVACC_STRING_TYPE jjimage;
- JAVACC_STRING_TYPE image;
- int jjimageLen;
- int lengthOfMatch;
- JAVACC_CHAR_TYPE curChar;
- TokenManagerErrorHandler *errorHandler;
- bool errorHandlerCreated;
- public: void setErrorHandler(TokenManagerErrorHandler *eh) {
+ JAVACC_CHARSTREAM* input_stream;
+ int jjrounds[75];
+ int jjstateSet[2 * 75];
+ JAVACC_STRING_TYPE jjimage;
+ JAVACC_STRING_TYPE image;
+ int jjimageLen;
+ int lengthOfMatch;
+ JAVACC_CHAR_TYPE curChar;
+ TokenManagerErrorHandler* errorHandler;
+ bool errorHandlerCreated;
+
+public:
+ void setErrorHandler(TokenManagerErrorHandler *eh) {
if (errorHandlerCreated && errorHandler != NULL) delete errorHandler;
errorHandler = eh;
errorHandlerCreated = false;
}
+
};
}
}