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

Fix for 152846 by Betty Tibbitts, calling ASTVisitor.leave() for cpp

This commit is contained in:
Markus Schorn 2007-01-22 14:54:37 +00:00
parent 63d92fc558
commit 25dfcccfb3
2 changed files with 2 additions and 2 deletions

View file

@ -93,7 +93,7 @@ public class CPPASTFunctionDefinition extends CPPASTNode implements
if( bodyStatement != null ) if( !bodyStatement.accept( action ) ) return false;
if( action.shouldVisitDeclarations ){
switch( action.visit( this ) ){
switch( action.leave( this ) ){
case ASTVisitor.PROCESS_ABORT : return false;
case ASTVisitor.PROCESS_SKIP : return true;
default : break;

View file

@ -186,7 +186,7 @@ public class CPPASTQualifiedName extends CPPASTNode implements
return false;
}
if (action.shouldVisitNames) {
switch (action.visit(this)) {
switch (action.leave(this)) {
case ASTVisitor.PROCESS_ABORT:
return false;
case ASTVisitor.PROCESS_SKIP: