Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMarkus Schorn2008-04-17 03:20:53 -0400
committerMarkus Schorn2008-04-17 03:20:53 -0400
commit902a30fae3a0fbd5046af2e6f114aad199c0f2e4 (patch)
tree4a2dcb0b8da38d0bfff29f087ec9cc21bc3fc502 /core
parentdac361c1c2ed75c701c8e2e38cdff9598ed7e0d4 (diff)
downloadorg.eclipse.cdt-902a30fae3a0fbd5046af2e6f114aad199c0f2e4.tar.gz
org.eclipse.cdt-902a30fae3a0fbd5046af2e6f114aad199c0f2e4.tar.xz
org.eclipse.cdt-902a30fae3a0fbd5046af2e6f114aad199c0f2e4.zip
Fixes implementation of CASTWhileStatement.accept(), bug 227393.
Diffstat (limited to 'core')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/c/CASTWhileStatement.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/c/CASTWhileStatement.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/c/CASTWhileStatement.java
index d53c5c47dea..dea4ffb74a8 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/c/CASTWhileStatement.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/c/CASTWhileStatement.java
@@ -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;

Back to the top