Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormspector2009-01-15 14:24:08 +0000
committermspector2009-01-15 14:24:08 +0000
commitae1d74af20653af0c656c83e0808b6c56181b2ed (patch)
treeb55c07842386ccd20ada87b065261243c32ea8c9
parent235941028868def2eaa1445fe170989a99cee4a8 (diff)
downloadorg.eclipse.pdt-ae1d74af20653af0c656c83e0808b6c56181b2ed.tar.gz
org.eclipse.pdt-ae1d74af20653af0c656c83e0808b6c56181b2ed.tar.xz
org.eclipse.pdt-ae1d74af20653af0c656c83e0808b6c56181b2ed.zip
fixed descriptorsv20090115-0930
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/ast/nodes/Program.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/ast/nodes/Program.java b/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/ast/nodes/Program.java
index 27872b71a..4d80c75f8 100644
--- a/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/ast/nodes/Program.java
+++ b/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/ast/nodes/Program.java
@@ -46,7 +46,7 @@ public class Program extends ASTNode {
public static final ChildListPropertyDescriptor STATEMENTS_PROPERTY =
new ChildListPropertyDescriptor(Program.class, "statements", Statement.class, NO_CYCLE_RISK); //$NON-NLS-1$
public static final ChildListPropertyDescriptor COMMENTS_PROPERTY =
- new ChildListPropertyDescriptor(Program.class, "statements", Comment.class, NO_CYCLE_RISK); //$NON-NLS-1$
+ new ChildListPropertyDescriptor(Program.class, "comments", Comment.class, NO_CYCLE_RISK); //$NON-NLS-1$
/**
* A list of property descriptors (element type:
@@ -57,6 +57,7 @@ public class Program extends ASTNode {
static {
List<StructuralPropertyDescriptor> properyList = new ArrayList<StructuralPropertyDescriptor>(1);
properyList.add(STATEMENTS_PROPERTY);
+ properyList.add(COMMENTS_PROPERTY);
PROPERTY_DESCRIPTORS = Collections.unmodifiableList(properyList);
}

Back to the top