Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Corbat2014-07-10 06:53:29 +0000
committerThomas Corbat2014-07-10 07:28:20 +0000
commit4f239a093a93c1ab9df4ed9c22329bb21742bdf3 (patch)
tree8b8178dd4b18e7ed6c7ae00c5b091911e17613a0 /lrparser/org.eclipse.cdt.core.lrparser/src/org
parentbf0ac984648cf00b5b40fbd402afafd103ee8ced (diff)
downloadorg.eclipse.cdt-4f239a093a93c1ab9df4ed9c22329bb21742bdf3.tar.gz
org.eclipse.cdt-4f239a093a93c1ab9df4ed9c22329bb21742bdf3.tar.xz
org.eclipse.cdt-4f239a093a93c1ab9df4ed9c22329bb21742bdf3.zip
Cosmetics and refactoring related to commits of bug 84144
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
Diffstat (limited to 'lrparser/org.eclipse.cdt.core.lrparser/src/org')
-rw-r--r--lrparser/org.eclipse.cdt.core.lrparser/src/org/eclipse/cdt/core/dom/lrparser/action/BuildASTParserAction.java4
1 files changed, 2 insertions, 2 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 422dfd265f..3dae5e1e47 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
@@ -7,7 +7,6 @@
*
* Contributors:
* IBM Corporation - initial API and implementation
- * Anders Dahlberg (Ericsson) - bug 84144
*******************************************************************************/
package org.eclipse.cdt.core.dom.lrparser.action;
@@ -45,6 +44,7 @@ import org.eclipse.cdt.core.dom.ast.IASTExpressionStatement;
import org.eclipse.cdt.core.dom.ast.IASTFieldDeclarator;
import org.eclipse.cdt.core.dom.ast.IASTFunctionCallExpression;
import org.eclipse.cdt.core.dom.ast.IASTFunctionDeclarator;
+import org.eclipse.cdt.core.dom.ast.IASTGotoStatement;
import org.eclipse.cdt.core.dom.ast.IASTIdExpression;
import org.eclipse.cdt.core.dom.ast.IASTInitializer;
import org.eclipse.cdt.core.dom.ast.IASTInitializerClause;
@@ -598,7 +598,7 @@ public abstract class BuildASTParserAction extends AbstractParserAction {
*/
public void consumeStatementGoto() {
IASTName name = createName(stream.getRuleTokens().get(1));
- IASTStatement gotoStat = nodeFactory.newGotoStatement(name);
+ IASTGotoStatement gotoStat = nodeFactory.newGotoStatement(name);
setOffsetAndLength(gotoStat);
astStack.push(gotoStat);
}

Back to the top