diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vhdljjparser.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vhdljjparser.cpp b/src/vhdljjparser.cpp index 23335d9..cddc7c1 100644 --- a/src/vhdljjparser.cpp +++ b/src/vhdljjparser.cpp @@ -94,7 +94,8 @@ void VHDLOutlineParser::Private::parseVhdlfile(const char *fileName, vhdlParser=new VhdlParser(tokenManager); vhdlParser->setOutlineParser(thisParser); vhdlParser->setSharedState(&shared); - tokenManager->ReInit(stream,0,vhdlParser); + tokenManager->setLexParser(vhdlParser); + tokenManager->ReInit(stream,0); tokenManager->setErrorHandler(tokErrHandler); VhdlErrorHandler *parserErrHandler=new VhdlErrorHandler(fileName); vhdlParser->setErrorHandler(parserErrHandler); |