summaryrefslogtreecommitdiffstats
path: root/languages/cpp/ast_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/ast_utils.cpp')
-rw-r--r--languages/cpp/ast_utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/languages/cpp/ast_utils.cpp b/languages/cpp/ast_utils.cpp
index 8db2e754..050d4c24 100644
--- a/languages/cpp/ast_utils.cpp
+++ b/languages/cpp/ast_utils.cpp
@@ -63,8 +63,8 @@ void scopeOfNode( AST* ast, TQStringList& scope )
if ( !ast )
return ;
- if ( ast->tqparent() )
- scopeOfNode( ast->tqparent(), scope );
+ if ( ast->parent() )
+ scopeOfNode( ast->parent(), scope );
TQString s;
switch ( ast->nodeType() )