[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdevelop/parts/javasupport
From: Oliver Kellogg <Oliver.Kellogg () t-online ! de>
Date: 2003-05-05 3:40:25
[Download RAW message or body]
CVS commit by okellogg:
The new ANTLR wants an AST factory, else it crashes.
M +6 -0 backgroundparser.cpp 1.7
--- kdevelop/parts/javasupport/backgroundparser.cpp #1.6:1.7
@@ -50,4 +50,10 @@ void BackgroundParser::run()
parser.setProblemReporter( m_reporter );
+ // make an ast factory
+ antlr::ASTFactory ast_factory;
+ // initialize and put it in the parser...
+ parser.initializeASTFactory (ast_factory);
+ parser.setASTFactory (&ast_factory);
+
try{
lexer.resetErrors();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic