mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Fixes implementation of CASTWhileStatement.accept(), bug 227393.
This commit is contained in:
parent
dac361c1c2
commit
902a30fae3
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ public class CASTWhileStatement extends CASTNode implements IASTWhileStatement,
|
|||
if( condition != null ) if( !condition.accept( action ) ) return false;
|
||||
if( body != null ) if( !body.accept( action ) ) return false;
|
||||
|
||||
if( action.shouldVisitExpressions ){
|
||||
if( action.shouldVisitStatements ){
|
||||
switch( action.leave( this ) ){
|
||||
case ASTVisitor.PROCESS_ABORT : return false;
|
||||
case ASTVisitor.PROCESS_SKIP : return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue