1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Content Assist Work : small problem in CompleteParseASTFactory solved.

This commit is contained in:
Hoda Amer 2004-01-22 16:08:35 +00:00
parent e1fcb18b59
commit 3f0448c576
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,6 @@
2004-01-22 Hoda Amer
Solved a small problem in the ASTCompleteParseASTFactory sent to me by Dave.
2004-01-20 John Camelon
Added traceLog() call into Scanner.handleProblem() and updated ParserFactory.createPreprocessor() for extra error handling.

View file

@ -920,7 +920,7 @@ public class CompleteParseASTFactory extends BaseASTFactory implements IASTFacto
if(containingScope != null){
return (IContainerSymbol)containingScope;
} else {
throw new ASTSemanticException();
return (IContainerSymbol)firstContainingScope;
}
} else {
throw new ASTSemanticException();