1
0
Fork 0
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:
Markus Schorn 2008-04-17 07:20:53 +00:00
parent dac361c1c2
commit 902a30fae3

View file

@ -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;