Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlena Laskavaia2010-08-01 19:51:22 -0400
committerAlena Laskavaia2010-08-01 19:51:22 -0400
commit43fc6eaaaccd771812a21bdd4dfd3bcaa78271c6 (patch)
treecaf4d10149fd6202c878b98e0f6e3dd2d36073f3 /core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/astwriter
parent69665fb3523658b9dc187427bbbef12d515f1b98 (diff)
downloadorg.eclipse.cdt-43fc6eaaaccd771812a21bdd4dfd3bcaa78271c6.tar.gz
org.eclipse.cdt-43fc6eaaaccd771812a21bdd4dfd3bcaa78271c6.tar.xz
org.eclipse.cdt-43fc6eaaaccd771812a21bdd4dfd3bcaa78271c6.zip
Bug 321069 ASTWriter fails on IASTDeclarators with nested declarators, patch from Tomasz Wesolowski
Diffstat (limited to 'core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/astwriter')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/astwriter/DeclaratorWriter.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/astwriter/DeclaratorWriter.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/astwriter/DeclaratorWriter.java
index b20d2542f6..3cef7d0691 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/astwriter/DeclaratorWriter.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/astwriter/DeclaratorWriter.java
@@ -79,6 +79,7 @@ public class DeclaratorWriter extends NodeWriter {
writePointerOperators(declarator, pointOps);
IASTName name = declarator.getName();
name.accept(visitor);
+ writeNestedDeclarator(declarator);
IASTInitializer init = getInitializer(declarator);
if(init!= null) {
init.accept(visitor);

Back to the top