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:
parent
e1fcb18b59
commit
3f0448c576
2 changed files with 4 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue