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:
parent
63d92fc558
commit
25dfcccfb3
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue