Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Schorn2009-02-24 11:01:32 -0500
committerMarkus Schorn2009-02-24 11:01:32 -0500
commit9f44be00abb2680eeda8821ba7187556a3bed695 (patch)
tree8fc745578bb9aa9ea7552fa968f0ca05fe264af5 /core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite
parenta401523e2f40e13bde9b6ed1c0dce2a81f8d8d00 (diff)
downloadorg.eclipse.cdt-9f44be00abb2680eeda8821ba7187556a3bed695.tar.gz
org.eclipse.cdt-9f44be00abb2680eeda8821ba7187556a3bed695.tar.xz
org.eclipse.cdt-9f44be00abb2680eeda8821ba7187556a3bed695.zip
AST for inactive code, bug 264666.
Diffstat (limited to 'core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/ASTLiteralNode.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/ASTLiteralNode.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/ASTLiteralNode.java
index 37282bb274..8da53a7b73 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/ASTLiteralNode.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/ASTLiteralNode.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2008 Wind River Systems, Inc. and others.
+ * Copyright (c) 2007, 2009 Wind River Systems, Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -103,4 +103,8 @@ public class ASTLiteralNode implements IASTNode {
public IASTNode copy() {
throw new UnsupportedOperationException();
}
+
+ public boolean isActive() {
+ return true;
+ }
}

Back to the top