Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2016-02-18 00:31:18 +0000
committerSergey Prigogin2016-02-18 00:44:35 +0000
commite984df3ba0bf15fad2a44bb939fa8a5d28f90038 (patch)
tree68d3ae343f564bca4234001af5e63c2c923d5c4d /lrparser/org.eclipse.cdt.core.lrparser/src/org/eclipse
parent4559a2308ae56d67ef9d08fdba80a0915e94c0bb (diff)
downloadorg.eclipse.cdt-e984df3ba0bf15fad2a44bb939fa8a5d28f90038.tar.gz
org.eclipse.cdt-e984df3ba0bf15fad2a44bb939fa8a5d28f90038.tar.xz
org.eclipse.cdt-e984df3ba0bf15fad2a44bb939fa8a5d28f90038.zip
Removed INodeFactory.newTranslationUnit() method.
Diffstat (limited to 'lrparser/org.eclipse.cdt.core.lrparser/src/org/eclipse')
-rw-r--r--lrparser/org.eclipse.cdt.core.lrparser/src/org/eclipse/cdt/core/dom/lrparser/action/BuildASTParserAction.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/lrparser/org.eclipse.cdt.core.lrparser/src/org/eclipse/cdt/core/dom/lrparser/action/BuildASTParserAction.java b/lrparser/org.eclipse.cdt.core.lrparser/src/org/eclipse/cdt/core/dom/lrparser/action/BuildASTParserAction.java
index 3dae5e1e47..dd028e5e9c 100644
--- a/lrparser/org.eclipse.cdt.core.lrparser/src/org/eclipse/cdt/core/dom/lrparser/action/BuildASTParserAction.java
+++ b/lrparser/org.eclipse.cdt.core.lrparser/src/org/eclipse/cdt/core/dom/lrparser/action/BuildASTParserAction.java
@@ -16,8 +16,6 @@ import static org.eclipse.cdt.core.dom.lrparser.action.ParserUtil.offset;
import java.util.List;
-import lpg.lpgjavaruntime.IToken;
-
import org.eclipse.cdt.core.dom.ast.IASTASMDeclaration;
import org.eclipse.cdt.core.dom.ast.IASTArrayDeclarator;
import org.eclipse.cdt.core.dom.ast.IASTArrayModifier;
@@ -85,6 +83,8 @@ import org.eclipse.cdt.internal.core.dom.parser.AbstractGNUSourceCodeParser;
import org.eclipse.cdt.internal.core.dom.parser.IASTAmbiguousExpression;
import org.eclipse.cdt.internal.core.dom.parser.IASTAmbiguousStatement;
+import lpg.lpgjavaruntime.IToken;
+
/**
* Parser semantic actions that are common to both C and C++.
*
@@ -149,7 +149,7 @@ public abstract class BuildASTParserAction extends AbstractParserAction {
public void consumeTranslationUnit() {
if(tu == null)
- tu = nodeFactory.newTranslationUnit();
+ tu = nodeFactory.newTranslationUnit(null);
// can't close the outermost scope
for(Object o : astStack.topScope()) {

Back to the top