Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcvs2svn2008-02-25 06:51:33 -0500
committercvs2svn2008-02-25 06:51:33 -0500
commitd881aab7131c05a9ee11f3adabaa576243c28cc0 (patch)
treee265928cfcd8eff352bb4dbed16e3d79e1be339c
parentd0a05b15d78766297c8f8b16d263a001130c6c86 (diff)
downloadorg.eclipse.cdt-CDT_4_0_3.tar.gz
org.eclipse.cdt-CDT_4_0_3.tar.xz
org.eclipse.cdt-CDT_4_0_3.zip
This commit was manufactured by cvs2svn to create tag 'CDT_4_0_3'.CDT_4_0_3
Sprout from cdt_4_0 2008-02-25 11:51:32 UTC Anton Leherbauer <anton.leherbauer@windriver.com> 'Fix for 220166: Deadlock running core test suite' Delete: upc/org.eclipse.cdt.core.parser.upc.tests/.classpath upc/org.eclipse.cdt.core.parser.upc.tests/.project upc/org.eclipse.cdt.core.parser.upc.tests/META-INF/MANIFEST.MF upc/org.eclipse.cdt.core.parser.upc.tests/about.html upc/org.eclipse.cdt.core.parser.upc.tests/build.properties upc/org.eclipse.cdt.core.parser.upc.tests/plugin.properties upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/AutomatedIntegrationSuite.java upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CommentTests.java upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CompleteParser2Tests.java upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CompletionBasicTest.java upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CompletionParseTest.java upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMLocationInclusionTests.java upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMLocationMacroTests.java upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMLocationTests.java upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMPreprocessorInformationTest.java upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DigraphTrigraphTests.java upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99GCCTests.java upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99KnRTests.java upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99SelectionParseTest.java upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99SpecTests.java upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99TaskParserTest.java upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99Tests.java upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99UtilOldTests.java upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99UtilTests.java upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCLanguageExtensionTests.java upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/UPCParser.java upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/UPCParserprs.java upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/UPCParsersym.java upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTCompositeTypeSpecifier.java upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTElaboratedTypeSpecifier.java upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTEnumerationSpecifier.java upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTForallStatement.java upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTKeywordExpression.java upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTLayoutQualifier.java upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTSimpleDeclSpecifier.java upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTSizeofExpression.java upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTSynchronizationStatement.java upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTTypedefNameSpecifier.java upc/org.eclipse.cdt.core.parser.upc/templates/default-templates.properties upc/org.eclipse.cdt.core.parser.upc/templates/default-templates.xml xlc/org.eclipse.cdt.errorparsers.xlc.tests/.classpath xlc/org.eclipse.cdt.errorparsers.xlc.tests/.cvsignore xlc/org.eclipse.cdt.errorparsers.xlc.tests/.project xlc/org.eclipse.cdt.errorparsers.xlc.tests/META-INF/MANIFEST.MF xlc/org.eclipse.cdt.errorparsers.xlc.tests/about.html xlc/org.eclipse.cdt.errorparsers.xlc.tests/build.properties xlc/org.eclipse.cdt.errorparsers.xlc.tests/plugin.xml xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/AllXlcErrorParserTests.java xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestConditional.java xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestFloatingPoint.java xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestFuncArg.java xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestMissingArg.java xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestNoFuncProto.java xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestOperModi.java xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestSyntaxError.java xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestUndeclIdent.java xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestsPlugin.java
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc.tests/.classpath7
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc.tests/.project28
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc.tests/META-INF/MANIFEST.MF16
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc.tests/about.html24
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc.tests/build.properties16
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc.tests/plugin.properties15
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/AutomatedIntegrationSuite.java42
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CommentTests.java22
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CompleteParser2Tests.java23
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CompletionBasicTest.java25
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CompletionParseTest.java26
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMLocationInclusionTests.java33
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMLocationMacroTests.java25
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMLocationTests.java29
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMPreprocessorInformationTest.java23
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DigraphTrigraphTests.java26
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99GCCTests.java30
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99KnRTests.java26
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99SelectionParseTest.java26
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99SpecTests.java30
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99TaskParserTest.java23
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99Tests.java36
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99UtilOldTests.java23
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99UtilTests.java23
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCLanguageExtensionTests.java517
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/UPCParser.java1725
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/UPCParserprs.java1955
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/UPCParsersym.java248
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTCompositeTypeSpecifier.java78
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTElaboratedTypeSpecifier.java73
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTEnumerationSpecifier.java75
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTForallStatement.java78
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTKeywordExpression.java55
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTLayoutQualifier.java56
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTSimpleDeclSpecifier.java71
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTSizeofExpression.java38
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTSynchronizationStatement.java64
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTTypedefNameSpecifier.java73
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc/templates/default-templates.properties14
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc/templates/default-templates.xml42
-rw-r--r--xlc/org.eclipse.cdt.errorparsers.xlc.tests/.classpath7
-rw-r--r--xlc/org.eclipse.cdt.errorparsers.xlc.tests/.cvsignore1
-rw-r--r--xlc/org.eclipse.cdt.errorparsers.xlc.tests/.project28
-rw-r--r--xlc/org.eclipse.cdt.errorparsers.xlc.tests/META-INF/MANIFEST.MF15
-rw-r--r--xlc/org.eclipse.cdt.errorparsers.xlc.tests/about.html24
-rw-r--r--xlc/org.eclipse.cdt.errorparsers.xlc.tests/build.properties8
-rw-r--r--xlc/org.eclipse.cdt.errorparsers.xlc.tests/plugin.xml2
-rw-r--r--xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/AllXlcErrorParserTests.java36
-rw-r--r--xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestConditional.java41
-rw-r--r--xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestFloatingPoint.java43
-rw-r--r--xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestFuncArg.java44
-rw-r--r--xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestMissingArg.java42
-rw-r--r--xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestNoFuncProto.java39
-rw-r--r--xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestOperModi.java41
-rw-r--r--xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestSyntaxError.java40
-rw-r--r--xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestUndeclIdent.java41
-rw-r--r--xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestsPlugin.java95
57 files changed, 0 insertions, 6306 deletions
diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/.classpath b/upc/org.eclipse.cdt.core.parser.upc.tests/.classpath
deleted file mode 100644
index 751c8f2e50..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc.tests/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/.project b/upc/org.eclipse.cdt.core.parser.upc.tests/.project
deleted file mode 100644
index 5ccd5d6305..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc.tests/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.cdt.core.parser.upc.tests</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/META-INF/MANIFEST.MF b/upc/org.eclipse.cdt.core.parser.upc.tests/META-INF/MANIFEST.MF
deleted file mode 100644
index 08c8d4ec5a..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc.tests/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,16 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %Bundle-Name.0
-Bundle-SymbolicName: org.eclipse.cdt.core.parser.upc.tests
-Bundle-Version: 4.0.0.qualifier
-Require-Bundle: org.eclipse.core.runtime,
- org.junit,
- org.eclipse.cdt.core.parser.c99,
- org.eclipse.cdt.core.tests,
- org.eclipse.cdt.core,
- org.eclipse.core.resources,
- org.eclipse.cdt.core.parser.c99.tests,
- org.eclipse.cdt.core.parser.upc
-Eclipse-LazyStart: false
-Bundle-Vendor: %Bundle-Vendor.0
-Bundle-Localization: plugin
diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/about.html b/upc/org.eclipse.cdt.core.parser.upc.tests/about.html
deleted file mode 100644
index 9b669c2fd0..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc.tests/about.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"><head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>About</title></head>
-
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>February 8, 2007</p>
-<h3>License</h3>
-
-<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise
-indicated below, the Content is provided to you under the terms and conditions of the
-Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available
-at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-For purposes of the EPL, "Program" will mean the Content.</p>
-
-<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-being redistributed by another party ("Redistributor") and different terms and conditions may
-apply to your use of any object code in the Content. Check the Redistributor's license that was
-provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
-
-</body></html> \ No newline at end of file
diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/build.properties b/upc/org.eclipse.cdt.core.parser.upc.tests/build.properties
deleted file mode 100644
index 185a840ec6..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc.tests/build.properties
+++ /dev/null
@@ -1,16 +0,0 @@
-###############################################################################
-# Copyright (c) 2007 IBM Corporation 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
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- .,\
- about.html,\
- plugin.properties
diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/plugin.properties b/upc/org.eclipse.cdt.core.parser.upc.tests/plugin.properties
deleted file mode 100644
index 73788c4a0c..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc.tests/plugin.properties
+++ /dev/null
@@ -1,15 +0,0 @@
-###############################################################################
-# Copyright (c) 2007 IBM Corporation 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
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-# properties file for org.eclipse.cdt.core.parser.c99.tests
-Bundle-Vendor.0 = Eclipse.org
-Bundle-Name.0 = C99 Parser Tests Plug-in
-
-upcSourceName=UPC Source File \ No newline at end of file
diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/AutomatedIntegrationSuite.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/AutomatedIntegrationSuite.java
deleted file mode 100644
index eb8a7ec788..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/AutomatedIntegrationSuite.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.core.parser.upc.tests;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-public class AutomatedIntegrationSuite extends TestSuite {
-
- public static Test suite() {
- TestSuite suite = new TestSuite();
-
- suite.addTestSuite(UPCC99CommentTests.class);
- suite.addTestSuite(UPCC99CompletionBasicTest.class);
- suite.addTestSuite(UPCC99CompletionParseTest.class);
- suite.addTestSuite(UPCC99DOMLocationInclusionTests.class);
- suite.addTestSuite(UPCC99DOMLocationMacroTests.class);
- suite.addTestSuite(UPCC99DOMLocationTests.class);
- suite.addTestSuite(UPCC99DOMPreprocessorInformationTest.class);
- suite.addTestSuite(UPCC99KnRTests.class);
- suite.addTestSuite(UPCC99SelectionParseTest.class);
- suite.addTestSuite(UPCC99SpecTests.class);
- suite.addTestSuite(UPCC99Tests.class);
- suite.addTestSuite(UPCLanguageExtensionTests.class);
- suite.addTestSuite(UPCC99DigraphTrigraphTests.class);
- suite.addTestSuite(UPCC99GCCTests.class);
- suite.addTestSuite(UPCC99UtilOldTests.class);
- suite.addTestSuite(UPCC99UtilTests.class);
- suite.addTestSuite(UPCC99CompleteParser2Tests.class);
- suite.addTestSuite(UPCC99TaskParserTest.class);
-
- return suite;
- }
-}
diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CommentTests.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CommentTests.java
deleted file mode 100644
index 0a2805b8da..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CommentTests.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.core.parser.upc.tests;
-
-import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage;
-import org.eclipse.cdt.core.dom.upc.UPCLanguage;
-import org.eclipse.cdt.core.parser.c99.tests.C99CommentTests;
-
-public class UPCC99CommentTests extends C99CommentTests {
-
- protected BaseExtensibleLanguage getLanguage() {
- return UPCLanguage.getDefault();
- }
-}
diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CompleteParser2Tests.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CompleteParser2Tests.java
deleted file mode 100644
index ac2577df7c..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CompleteParser2Tests.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.core.parser.upc.tests;
-
-import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage;
-import org.eclipse.cdt.core.dom.upc.UPCLanguage;
-import org.eclipse.cdt.core.parser.c99.tests.C99CompleteParser2Tests;
-
-public class UPCC99CompleteParser2Tests extends C99CompleteParser2Tests {
-
- protected BaseExtensibleLanguage getLanguage() {
- return UPCLanguage.getDefault();
- }
-
-}
diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CompletionBasicTest.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CompletionBasicTest.java
deleted file mode 100644
index c05247bab9..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CompletionBasicTest.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.core.parser.upc.tests;
-
-import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage;
-import org.eclipse.cdt.core.dom.c99.C99Language;
-import org.eclipse.cdt.core.parser.c99.tests.C99CompletionBasicTest;
-
-public class UPCC99CompletionBasicTest extends C99CompletionBasicTest {
-
- public UPCC99CompletionBasicTest() { }
-
- protected BaseExtensibleLanguage getLanguage() {
- return C99Language.getDefault();
- }
-
-} \ No newline at end of file
diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CompletionParseTest.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CompletionParseTest.java
deleted file mode 100644
index f704f9647f..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CompletionParseTest.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.core.parser.upc.tests;
-
-import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage;
-import org.eclipse.cdt.core.dom.upc.UPCLanguage;
-import org.eclipse.cdt.core.parser.c99.tests.C99CompletionParseTest;
-
-public class UPCC99CompletionParseTest extends C99CompletionParseTest {
-
- public UPCC99CompletionParseTest() { }
- public UPCC99CompletionParseTest(String name) { super(name); }
-
-
- protected BaseExtensibleLanguage getLanguage() {
- return UPCLanguage.getDefault();
- }
-}
diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMLocationInclusionTests.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMLocationInclusionTests.java
deleted file mode 100644
index 4214d2d3be..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMLocationInclusionTests.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.core.parser.upc.tests;
-
-import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage;
-import org.eclipse.cdt.core.dom.upc.UPCLanguage;
-import org.eclipse.cdt.core.parser.c99.tests.C99DOMLocationInclusionTests;
-
-public class UPCC99DOMLocationInclusionTests extends C99DOMLocationInclusionTests {
-
- public UPCC99DOMLocationInclusionTests() {
- }
-
- public UPCC99DOMLocationInclusionTests(String name, Class className) {
- super(name, className);
- }
-
- public UPCC99DOMLocationInclusionTests(String name) {
- super(name);
- }
-
- protected BaseExtensibleLanguage getLanguage() {
- return UPCLanguage.getDefault();
- }
-}
diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMLocationMacroTests.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMLocationMacroTests.java
deleted file mode 100644
index b8eb51ea06..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMLocationMacroTests.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.core.parser.upc.tests;
-
-import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage;
-import org.eclipse.cdt.core.dom.upc.UPCLanguage;
-import org.eclipse.cdt.core.parser.c99.tests.C99DOMLocationMacroTests;
-
-public class UPCC99DOMLocationMacroTests extends C99DOMLocationMacroTests {
-
- public UPCC99DOMLocationMacroTests() {
- }
-
- protected BaseExtensibleLanguage getLanguage() {
- return UPCLanguage.getDefault();
- }
-}
diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMLocationTests.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMLocationTests.java
deleted file mode 100644
index 38417ae403..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMLocationTests.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.core.parser.upc.tests;
-
-import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage;
-import org.eclipse.cdt.core.dom.upc.UPCLanguage;
-import org.eclipse.cdt.core.parser.c99.tests.C99DOMLocationTests;
-
-public class UPCC99DOMLocationTests extends C99DOMLocationTests {
-
- public UPCC99DOMLocationTests() {
- }
-
- public UPCC99DOMLocationTests(String name) {
- super(name);
- }
-
- protected BaseExtensibleLanguage getLanguage() {
- return UPCLanguage.getDefault();
- }
-}
diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMPreprocessorInformationTest.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMPreprocessorInformationTest.java
deleted file mode 100644
index b367fad838..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMPreprocessorInformationTest.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.core.parser.upc.tests;
-
-import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage;
-import org.eclipse.cdt.core.dom.upc.UPCLanguage;
-import org.eclipse.cdt.core.parser.c99.tests.C99DOMPreprocessorInformationTest;
-
-public class UPCC99DOMPreprocessorInformationTest extends C99DOMPreprocessorInformationTest {
-
- protected BaseExtensibleLanguage getLanguage() {
- return UPCLanguage.getDefault();
- }
-
-}
diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DigraphTrigraphTests.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DigraphTrigraphTests.java
deleted file mode 100644
index fad52a7959..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DigraphTrigraphTests.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.core.parser.upc.tests;
-
-import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage;
-import org.eclipse.cdt.core.dom.upc.UPCLanguage;
-import org.eclipse.cdt.core.parser.c99.tests.C99DigraphTrigraphTests;
-
-
-public class UPCC99DigraphTrigraphTests extends C99DigraphTrigraphTests {
-
- public UPCC99DigraphTrigraphTests() { }
- public UPCC99DigraphTrigraphTests(String name) { super(name); }
-
- protected BaseExtensibleLanguage getLanguage() {
- return UPCLanguage.getDefault();
- }
-}
diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99GCCTests.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99GCCTests.java
deleted file mode 100644
index 713ec1a80a..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99GCCTests.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.core.parser.upc.tests;
-
-import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage;
-import org.eclipse.cdt.core.dom.upc.UPCLanguage;
-import org.eclipse.cdt.core.parser.c99.tests.C99GCCTests;
-
-public class UPCC99GCCTests extends C99GCCTests {
-
- public UPCC99GCCTests() {
- }
-
- public UPCC99GCCTests(String message) {
- super(message);
- }
-
- protected BaseExtensibleLanguage getLanguage() {
- return UPCLanguage.getDefault();
- }
-
-}
diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99KnRTests.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99KnRTests.java
deleted file mode 100644
index 3bd637ca4a..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99KnRTests.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.core.parser.upc.tests;
-
-import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage;
-import org.eclipse.cdt.core.dom.upc.UPCLanguage;
-import org.eclipse.cdt.core.parser.c99.tests.C99KnRTests;
-
-public class UPCC99KnRTests extends C99KnRTests {
-
- public UPCC99KnRTests() {
- }
-
- protected BaseExtensibleLanguage getLanguage() {
- return UPCLanguage.getDefault();
- }
-
-}
diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99SelectionParseTest.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99SelectionParseTest.java
deleted file mode 100644
index 829ed9c1bf..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99SelectionParseTest.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.core.parser.upc.tests;
-
-import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage;
-import org.eclipse.cdt.core.dom.upc.UPCLanguage;
-import org.eclipse.cdt.core.parser.c99.tests.C99SelectionParseTest;
-
-public class UPCC99SelectionParseTest extends C99SelectionParseTest {
-
- public UPCC99SelectionParseTest() { }
- public UPCC99SelectionParseTest(String name) { super(name); }
-
-
- protected BaseExtensibleLanguage getLanguage() {
- return UPCLanguage.getDefault();
- }
-}
diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99SpecTests.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99SpecTests.java
deleted file mode 100644
index 0649e3c6bd..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99SpecTests.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.core.parser.upc.tests;
-
-import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage;
-import org.eclipse.cdt.core.dom.upc.UPCLanguage;
-import org.eclipse.cdt.core.parser.c99.tests.C99SpecTests;
-
-public class UPCC99SpecTests extends C99SpecTests {
-
- public UPCC99SpecTests() {
- }
-
- public UPCC99SpecTests(String name) {
- super(name);
- }
-
- protected BaseExtensibleLanguage getLanguage() {
- return UPCLanguage.getDefault();
- }
-
-}
diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99TaskParserTest.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99TaskParserTest.java
deleted file mode 100644
index bce6d65251..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99TaskParserTest.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.core.parser.upc.tests;
-
-import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage;
-import org.eclipse.cdt.core.dom.upc.UPCLanguage;
-import org.eclipse.cdt.core.parser.c99.tests.C99TaskParserTest;
-
-public class UPCC99TaskParserTest extends C99TaskParserTest {
-
- protected BaseExtensibleLanguage getLanguage() {
- return UPCLanguage.getDefault();
- }
-
-}
diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99Tests.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99Tests.java
deleted file mode 100644
index 6869ea78f5..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99Tests.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.core.parser.upc.tests;
-
-import junit.framework.TestSuite;
-
-import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage;
-import org.eclipse.cdt.core.dom.upc.UPCLanguage;
-import org.eclipse.cdt.core.parser.c99.tests.C99Tests;
-/**
- * Run the C99 tests against the UPC parser
- *
- */
-public class UPCC99Tests extends C99Tests {
-
- public static TestSuite suite() {
- return suite(UPCC99Tests.class);
- }
-
- public UPCC99Tests(String name) {
- super(name);
- }
-
- protected BaseExtensibleLanguage getLanguage() {
- return UPCLanguage.getDefault();
- }
-
-}
diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99UtilOldTests.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99UtilOldTests.java
deleted file mode 100644
index f4f9a9bbc6..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99UtilOldTests.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.core.parser.upc.tests;
-
-import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage;
-import org.eclipse.cdt.core.dom.upc.UPCLanguage;
-import org.eclipse.cdt.core.parser.c99.tests.C99UtilOldTests;
-
-public class UPCC99UtilOldTests extends C99UtilOldTests {
-
- protected BaseExtensibleLanguage getLanguage() {
- return UPCLanguage.getDefault();
- }
-
-}
diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99UtilTests.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99UtilTests.java
deleted file mode 100644
index ac174646d3..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99UtilTests.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.core.parser.upc.tests;
-
-import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage;
-import org.eclipse.cdt.core.dom.upc.UPCLanguage;
-import org.eclipse.cdt.core.parser.c99.tests.C99UtilTests;
-
-public class UPCC99UtilTests extends C99UtilTests {
-
- protected BaseExtensibleLanguage getLanguage() {
- return UPCLanguage.getDefault();
- }
-
-}
diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCLanguageExtensionTests.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCLanguageExtensionTests.java
deleted file mode 100644
index e8f9474535..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCLanguageExtensionTests.java
+++ /dev/null
@@ -1,517 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.core.parser.upc.tests;
-
-import junit.framework.TestCase;
-
-import org.eclipse.cdt.core.dom.ast.IASTArrayDeclarator;
-import org.eclipse.cdt.core.dom.ast.IASTArrayModifier;
-import org.eclipse.cdt.core.dom.ast.IASTArraySubscriptExpression;
-import org.eclipse.cdt.core.dom.ast.IASTBinaryExpression;
-import org.eclipse.cdt.core.dom.ast.IASTCompoundStatement;
-import org.eclipse.cdt.core.dom.ast.IASTDeclaration;
-import org.eclipse.cdt.core.dom.ast.IASTDeclarationStatement;
-import org.eclipse.cdt.core.dom.ast.IASTDeclarator;
-import org.eclipse.cdt.core.dom.ast.IASTExpressionStatement;
-import org.eclipse.cdt.core.dom.ast.IASTFunctionDefinition;
-import org.eclipse.cdt.core.dom.ast.IASTIdExpression;
-import org.eclipse.cdt.core.dom.ast.IASTLiteralExpression;
-import org.eclipse.cdt.core.dom.ast.IASTName;
-import org.eclipse.cdt.core.dom.ast.IASTSimpleDeclSpecifier;
-import org.eclipse.cdt.core.dom.ast.IASTSimpleDeclaration;
-import org.eclipse.cdt.core.dom.ast.IASTStatement;
-import org.eclipse.cdt.core.dom.ast.IASTTranslationUnit;
-import org.eclipse.cdt.core.dom.ast.IASTTypeIdExpression;
-import org.eclipse.cdt.core.dom.ast.IASTUnaryExpression;
-import org.eclipse.cdt.core.dom.ast.IScope;
-import org.eclipse.cdt.core.dom.ast.IVariable;
-import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage;
-import org.eclipse.cdt.core.dom.upc.UPCLanguage;
-import org.eclipse.cdt.core.dom.upc.ast.IUPCASTDeclSpecifier;
-import org.eclipse.cdt.core.dom.upc.ast.IUPCASTForallStatement;
-import org.eclipse.cdt.core.dom.upc.ast.IUPCASTKeywordExpression;
-import org.eclipse.cdt.core.dom.upc.ast.IUPCASTSimpleDeclSpecifier;
-import org.eclipse.cdt.core.dom.upc.ast.IUPCASTSizeofExpression;
-import org.eclipse.cdt.core.dom.upc.ast.IUPCASTSynchronizationStatement;
-import org.eclipse.cdt.core.parser.c99.tests.ParseHelper;
-import org.eclipse.cdt.internal.core.parser.ParserException;
-
-public class UPCLanguageExtensionTests extends TestCase {
-
- public UPCLanguageExtensionTests() {
- }
-
- public UPCLanguageExtensionTests(String name) {
- super(name);
- }
-
-
- protected BaseExtensibleLanguage getLanguage() {
- return UPCLanguage.getDefault();
- }
-
- // test problem-free parsing of UPC constructs (maily declarations)
- // test the AST is correct
- // test that binding resolution works
-
- private IASTTranslationUnit parseAndCheckBindings(String code) throws ParserException {
- return ParseHelper.parse(code, getLanguage(), true, true, 0 );
- }
-
-
- private IASTTranslationUnit parse(String code) throws ParserException {
- return ParseHelper.parse(code, getLanguage(), true, false, 0 );
- }
-
-
- public void testUPCSharedDeclarations1() throws Exception {
- StringBuffer sb = new StringBuffer();
- sb.append("shared int a [100+THREADS];\n");//$NON-NLS-1$
- sb.append("shared [] int b [THREADS];\n");//$NON-NLS-1$
- sb.append("shared [90] int c [10];\n");//$NON-NLS-1$
- sb.append("shared [*] int d [];\n");//$NON-NLS-1$
- sb.append("relaxed int x;");//$NON-NLS-1$
- sb.append("strict int y;");//$NON-NLS-1$
- String code = sb.toString();
-
- IASTTranslationUnit tu = parseAndCheckBindings(code);
- IScope globalScope = tu.getScope();
- assertNotNull(globalScope);
-
- IASTDeclaration[] declarations = tu.getDeclarations();
- assertNotNull(declarations);
- assertEquals(6, declarations.length);
-
- // shared int a [100+THREADS];
- IASTSimpleDeclaration decl_a = (IASTSimpleDeclaration) declarations[0];
- IUPCASTSimpleDeclSpecifier declspec_a = (IUPCASTSimpleDeclSpecifier) decl_a.getDeclSpecifier();
- assertEquals(IUPCASTDeclSpecifier.rt_unspecified, declspec_a.getReferenceType());
- assertEquals(IUPCASTDeclSpecifier.sh_shared_default_block_size, declspec_a.getSharedQualifier());
- assertEquals(IASTSimpleDeclSpecifier.t_int, declspec_a.getType());
- assertNull(declspec_a.getBlockSizeExpression());
- IASTDeclarator[] declarators = decl_a.getDeclarators();
- assertNotNull(declarators);
- assertEquals(1, declarators.length);
- IASTArrayDeclarator declarator_a = (IASTArrayDeclarator) declarators[0];
- IASTName name_a = declarator_a.getName();
- assertEquals("a", name_a.toString());//$NON-NLS-1$
- IASTArrayModifier[] array_modifiers = declarator_a.getArrayModifiers();
- assertNotNull(array_modifiers);
- assertEquals(1, array_modifiers.length);
- IASTBinaryExpression expr = (IASTBinaryExpression) array_modifiers[0].getConstantExpression();
- IUPCASTKeywordExpression threads = (IUPCASTKeywordExpression) expr.getOperand2();
- assertEquals(IUPCASTKeywordExpression.kw_threads, threads.getKeywordKind());
-
- // shared [] int b [THREADS];
- IASTSimpleDeclaration decl_b = (IASTSimpleDeclaration) declarations[1];
- IUPCASTSimpleDeclSpecifier declspec_b = (IUPCASTSimpleDeclSpecifier) decl_b.getDeclSpecifier();
- assertEquals(IUPCASTDeclSpecifier.rt_unspecified, declspec_b.getReferenceType());
- assertEquals(IUPCASTDeclSpecifier.sh_shared_indefinite_allocation, declspec_b.getSharedQualifier());
- assertEquals(IASTSimpleDeclSpecifier.t_int, declspec_b.getType());
- assertNull(declspec_b.getBlockSizeExpression());
- declarators = decl_b.getDeclarators();
- assertNotNull(declarators);
- assertEquals(1, declarators.length);
- IASTArrayDeclarator declarator_b = (IASTArrayDeclarator) declarators[0];
- IASTName name_b = declarator_b.getName();
- assertEquals("b", name_b.toString());//$NON-NLS-1$
- array_modifiers = declarator_b.getArrayModifiers();
- assertNotNull(array_modifiers);
- assertEquals(1, array_modifiers.length);
- threads = (IUPCASTKeywordExpression) array_modifiers[0].getConstantExpression();
- assertEquals(IUPCASTKeywordExpression.kw_threads, threads.getKeywordKind());
-
- // shared [90] int c [10];
- IASTSimpleDeclaration decl_c = (IASTSimpleDeclaration) declarations[2];
- IUPCASTSimpleDeclSpecifier declspec_c = (IUPCASTSimpleDeclSpecifier) decl_c.getDeclSpecifier();
- assertEquals(IUPCASTDeclSpecifier.rt_unspecified, declspec_c.getReferenceType());
- assertEquals(IUPCASTDeclSpecifier.sh_shared_constant_expression, declspec_c.getSharedQualifier());
- assertEquals(IASTSimpleDeclSpecifier.t_int, declspec_c.getType());
- IASTLiteralExpression literalExpr = (IASTLiteralExpression) declspec_c.getBlockSizeExpression();
- declarators = decl_c.getDeclarators();
- assertNotNull(declarators);
- assertEquals(1, declarators.length);
- IASTArrayDeclarator declarator_c = (IASTArrayDeclarator) declarators[0];
- IASTName name_c = declarator_c.getName();
- assertEquals("c", name_c.toString());//$NON-NLS-1$
- array_modifiers = declarator_c.getArrayModifiers();
- assertNotNull(array_modifiers);
- assertEquals(1, array_modifiers.length);
- assertNotNull(array_modifiers[0].getConstantExpression());
-
- // shared [*] int d [];
- IASTSimpleDeclaration decl_d = (IASTSimpleDeclaration) declarations[3];
- IUPCASTSimpleDeclSpecifier declspec_d = (IUPCASTSimpleDeclSpecifier) decl_d.getDeclSpecifier();
- assertEquals(IUPCASTDeclSpecifier.rt_unspecified, declspec_d.getReferenceType());
- assertEquals(IUPCASTDeclSpecifier.sh_shared_pure_allocation, declspec_d.getSharedQualifier());
- assertEquals(IASTSimpleDeclSpecifier.t_int, declspec_d.getType());
- assertNull(declspec_d.getBlockSizeExpression());
- declarators = decl_d.getDeclarators();
- assertNotNull(declarators);
- assertEquals(1, declarators.length);
- IASTArrayDeclarator declarator_d = (IASTArrayDeclarator) declarators[0];
- IASTName name_d = declarator_d.getName();
- assertEquals("d", name_d.toString());//$NON-NLS-1$
- array_modifiers = declarator_d.getArrayModifiers();
- assertNotNull(array_modifiers);
- assertEquals(1, array_modifiers.length);
- assertNull(array_modifiers[0].getConstantExpression());
-
- IASTSimpleDeclaration decl_x = (IASTSimpleDeclaration) declarations[4];
- IUPCASTSimpleDeclSpecifier declspec_x = (IUPCASTSimpleDeclSpecifier) decl_x.getDeclSpecifier();
- assertEquals(IUPCASTSimpleDeclSpecifier.rt_relaxed, declspec_x.getReferenceType());
-
- IASTSimpleDeclaration decl_y = (IASTSimpleDeclaration) declarations[5];
- IUPCASTSimpleDeclSpecifier declspec_y = (IUPCASTSimpleDeclSpecifier) decl_y.getDeclSpecifier();
- assertEquals(IUPCASTSimpleDeclSpecifier.rt_strict, declspec_y.getReferenceType());
-
-
- IVariable binding_a = (IVariable) name_a.resolveBinding();
- assertNotNull(binding_a);
- assertEquals(globalScope, binding_a.getScope());
-
- IVariable binding_b = (IVariable) name_a.resolveBinding();
- assertNotNull(binding_b);
- assertEquals(globalScope, binding_b.getScope());
-
- IVariable binding_c = (IVariable) name_a.resolveBinding();
- assertNotNull(binding_c);
- assertEquals(globalScope, binding_c.getScope());
-
- IVariable binding_d = (IVariable) name_a.resolveBinding();
- assertNotNull(binding_d);
- assertEquals(globalScope, binding_d.getScope());
-
- }
-
-
-
- public void testUPCSharedDeclarations2() throws Exception {
- StringBuffer sb = new StringBuffer();
- sb.append("int x = 10;");//$NON-NLS-1$
- sb.append("shared [x] int a [];\n");//$NON-NLS-1$
- String code = sb.toString();
-
- IASTTranslationUnit tu = parseAndCheckBindings(code);
- IScope globalScope = tu.getScope();
- assertNotNull(globalScope);
-
- IASTDeclaration[] declarations = tu.getDeclarations();
- assertNotNull(declarations);
- assertEquals(2, declarations.length);
-
- IASTSimpleDeclaration decl_x = (IASTSimpleDeclaration) declarations[0];
-
- // shared [x] int a [];
- IASTSimpleDeclaration decl_a = (IASTSimpleDeclaration) declarations[1];
- IUPCASTSimpleDeclSpecifier declspec_a = (IUPCASTSimpleDeclSpecifier) decl_a.getDeclSpecifier();
- assertEquals(IUPCASTDeclSpecifier.rt_unspecified, declspec_a.getReferenceType());
- assertEquals(IUPCASTDeclSpecifier.sh_shared_constant_expression, declspec_a.getSharedQualifier());
- assertEquals(IASTSimpleDeclSpecifier.t_int, declspec_a.getType());
- IASTIdExpression expr_x = (IASTIdExpression) declspec_a.getBlockSizeExpression();
-
- IASTName name_x = expr_x.getName();
- IVariable binding_x = (IVariable) name_x.resolveBinding();
- assertNotNull(binding_x);
- assertEquals(decl_x.getDeclarators()[0].getName().resolveBinding(), binding_x);
- }
-
-
-
- public void testUPCForall1() throws Exception {
- StringBuffer sb = new StringBuffer();
- sb.append("int main() {\n");//$NON-NLS-1$
- sb.append(" int i;\n");//$NON-NLS-1$
- sb.append(" shared float *a;\n");//$NON-NLS-1$
- sb.append(" upc_forall(i=0; i<N; i++; &a[i]) { \n");//$NON-NLS-1$
- sb.append(" a[i] = 99; \n");//$NON-NLS-1$
- sb.append(" } \n");//$NON-NLS-1$
- sb.append("}\n");//$NON-NLS-1$
- String code = sb.toString();
-
- IASTTranslationUnit tu = parse(code);
-
- IScope globalScope = tu.getScope();
- assertNotNull(globalScope);
-
- IASTDeclaration[] declarations = tu.getDeclarations();
- assertNotNull(declarations);
- assertEquals(1, declarations.length);
-
- IASTFunctionDefinition main = (IASTFunctionDefinition) declarations[0];
- IASTStatement[] body = ((IASTCompoundStatement)main.getBody()).getStatements();
- assertEquals(3, body.length);
-
- IASTSimpleDeclaration decl_i = (IASTSimpleDeclaration)((IASTDeclarationStatement)body[0]).getDeclaration();
- IVariable binding_i = (IVariable) decl_i.getDeclarators()[0].getName().resolveBinding();
-
- IASTSimpleDeclaration decl_a = (IASTSimpleDeclaration)((IASTDeclarationStatement)body[1]).getDeclaration();
- IVariable binding_a = (IVariable) decl_a.getDeclarators()[0].getName().resolveBinding();
-
- IUPCASTForallStatement forall = (IUPCASTForallStatement) body[2];
-
- IASTBinaryExpression expr1 = (IASTBinaryExpression)((IASTExpressionStatement)forall.getInitializerStatement()).getExpression();
- IASTName name_i_1 = ((IASTIdExpression)expr1.getOperand1()).getName();
-
- IASTBinaryExpression expr2 = (IASTBinaryExpression)forall.getConditionExpression();
- IASTName name_i_2 = ((IASTIdExpression)expr2.getOperand1()).getName();
-
- IASTUnaryExpression expr3 = (IASTUnaryExpression)forall.getIterationExpression();
- IASTName name_i_3 = ((IASTIdExpression)expr3.getOperand()).getName();
-
- IASTUnaryExpression expr4 = (IASTUnaryExpression)forall.getAffinityExpresiion();
- IASTName name_i_4 = ((IASTIdExpression)((IASTArraySubscriptExpression)expr4.getOperand()).getSubscriptExpression()).getName();
- IASTName name_a_1 = ((IASTIdExpression)((IASTArraySubscriptExpression)expr4.getOperand()).getArrayExpression()).getName();
-
- IASTBinaryExpression expr5 = (IASTBinaryExpression)((IASTExpressionStatement)((IASTCompoundStatement)forall.getBody()).getStatements()[0]).getExpression();
- IASTName name_i_5 = ((IASTIdExpression)((IASTArraySubscriptExpression)expr5.getOperand1()).getSubscriptExpression()).getName();
- IASTName name_a_2 = ((IASTIdExpression)((IASTArraySubscriptExpression)expr5.getOperand1()).getArrayExpression()).getName();
-
- // test binding resolution
- IVariable binding_i_1 = (IVariable) name_i_1.resolveBinding();
- assertNotNull(binding_i_1);
- assertEquals(binding_i, binding_i_1);
-
- IVariable binding_i_2 = (IVariable) name_i_2.resolveBinding();
- assertNotNull(binding_i_2);
- assertEquals(binding_i, binding_i_2);
-
- IVariable binding_i_3 = (IVariable) name_i_3.resolveBinding();
- assertNotNull(binding_i_3);
- assertEquals(binding_i, binding_i_3);
-
- IVariable binding_i_4 = (IVariable) name_i_4.resolveBinding();
- assertNotNull(binding_i_4);
- assertEquals(binding_i, binding_i_4);
-
- IVariable binding_i_5 = (IVariable) name_i_5.resolveBinding();
- assertNotNull(binding_i_5);
- assertEquals(binding_i, binding_i_5);
-
- IVariable binding_a_1 = (IVariable) name_a_1.resolveBinding();
- assertNotNull(binding_a_1);
- assertEquals(binding_a, binding_a_1);
-
- IVariable binding_a_2 = (IVariable) name_a_2.resolveBinding();
- assertNotNull(binding_a_2);
- assertEquals(binding_a, binding_a_2);
- }
-
-
- /**
- * Test a declaration inside a upc_forall definition.
- */
- public void testUPCForall2() throws Exception {
- StringBuffer sb = new StringBuffer();
- sb.append("int main() {\n");//$NON-NLS-1$
- sb.append(" shared float *a;\n");//$NON-NLS-1$
- sb.append(" upc_forall(int i=0; i<N; i++; &a[i]) { \n");//$NON-NLS-1$
- sb.append(" a[i] = 99; \n");//$NON-NLS-1$
- sb.append(" } \n");//$NON-NLS-1$
- sb.append("}\n");//$NON-NLS-1$
- String code = sb.toString();
-
- IASTTranslationUnit tu = parse(code);
-
- IScope globalScope = tu.getScope();
- assertNotNull(globalScope);
-
- IASTDeclaration[] declarations = tu.getDeclarations();
- assertNotNull(declarations);
- assertEquals(1, declarations.length);
-
- IASTFunctionDefinition main = (IASTFunctionDefinition) declarations[0];
- IASTStatement[] body = ((IASTCompoundStatement)main.getBody()).getStatements();
- assertEquals(2, body.length);
-
- IASTSimpleDeclaration decl_a = (IASTSimpleDeclaration)((IASTDeclarationStatement)body[0]).getDeclaration();
- IVariable binding_a = (IVariable) decl_a.getDeclarators()[0].getName().resolveBinding();
-
- IUPCASTForallStatement forall = (IUPCASTForallStatement) body[1];
-
- IASTSimpleDeclaration decl_i = (IASTSimpleDeclaration)((IASTDeclarationStatement)forall.getInitializerStatement()).getDeclaration();
- IVariable binding_i = (IVariable) decl_i.getDeclarators()[0].getName().resolveBinding();
-
- IASTBinaryExpression expr2 = (IASTBinaryExpression)forall.getConditionExpression();
- IASTName name_i_2 = ((IASTIdExpression)expr2.getOperand1()).getName();
-
- IASTUnaryExpression expr3 = (IASTUnaryExpression)forall.getIterationExpression();
- IASTName name_i_3 = ((IASTIdExpression)expr3.getOperand()).getName();
-
- IASTUnaryExpression expr4 = (IASTUnaryExpression)forall.getAffinityExpresiion();
- IASTName name_i_4 = ((IASTIdExpression)((IASTArraySubscriptExpression)expr4.getOperand()).getSubscriptExpression()).getName();
- IASTName name_a_1 = ((IASTIdExpression)((IASTArraySubscriptExpression)expr4.getOperand()).getArrayExpression()).getName();
-
- IASTBinaryExpression expr5 = (IASTBinaryExpression)((IASTExpressionStatement)((IASTCompoundStatement)forall.getBody()).getStatements()[0]).getExpression();
- IASTName name_i_5 = ((IASTIdExpression)((IASTArraySubscriptExpression)expr5.getOperand1()).getSubscriptExpression()).getName();
- IASTName name_a_2 = ((IASTIdExpression)((IASTArraySubscriptExpression)expr5.getOperand1()).getArrayExpression()).getName();
-
- // test binding resolution
- IVariable binding_i_2 = (IVariable) name_i_2.resolveBinding();
- assertNotNull(binding_i_2);
- assertEquals(binding_i, binding_i_2);
-
- IVariable binding_i_3 = (IVariable) name_i_3.resolveBinding();
- assertNotNull(binding_i_3);
- assertEquals(binding_i, binding_i_3);
-
- IVariable binding_i_4 = (IVariable) name_i_4.resolveBinding();
- assertNotNull(binding_i_4);
- assertEquals(binding_i, binding_i_4);
-
- IVariable binding_i_5 = (IVariable) name_i_5.resolveBinding();
- assertNotNull(binding_i_5);
- assertEquals(binding_i, binding_i_5);
-
- IVariable binding_a_1 = (IVariable) name_a_1.resolveBinding();
- assertNotNull(binding_a_1);
- assertEquals(binding_a, binding_a_1);
-
- IVariable binding_a_2 = (IVariable) name_a_2.resolveBinding();
- assertNotNull(binding_a_2);
- assertEquals(binding_a, binding_a_2);
- }
-
- /**
- * Test 'continue' inside upc_forall
- */
- public void testUPCForall3() throws Exception {
- StringBuffer sb = new StringBuffer();
- sb.append("int main() {\n");//$NON-NLS-1$
- sb.append(" upc_forall(int i=0; i<N; i++; continue) { \n");//$NON-NLS-1$
- sb.append(" } \n");//$NON-NLS-1$
- sb.append("}\n");//$NON-NLS-1$
- String code = sb.toString();
-
- IASTTranslationUnit tu = parse(code);
-
- IASTDeclaration[] declarations = tu.getDeclarations();
- assertNotNull(declarations);
- assertEquals(1, declarations.length);
-
- IASTFunctionDefinition main = (IASTFunctionDefinition) declarations[0];
- IASTStatement[] body = ((IASTCompoundStatement)main.getBody()).getStatements();
- assertEquals(1, body.length);
-
-
- IUPCASTForallStatement forall = (IUPCASTForallStatement) body[0];
-
- assertTrue(forall.isAffinityContinue());
- assertNull(forall.getAffinityExpresiion());
- }
-
-
- public void testUPCSynchronizationStatment() throws Exception {
- StringBuffer sb = new StringBuffer();
- sb.append("int main() {\n");//$NON-NLS-1$
- sb.append(" upc_notify 1;\n");//$NON-NLS-1$
- sb.append(" upc_notify;\n");//$NON-NLS-1$
- sb.append(" upc_wait 1;\n");//$NON-NLS-1$
- sb.append(" upc_wait;\n");//$NON-NLS-1$
- sb.append(" upc_barrier 1;\n");//$NON-NLS-1$
- sb.append(" upc_barrier;\n");//$NON-NLS-1$
- sb.append(" upc_fence;\n");//$NON-NLS-1$
- sb.append("}\n");//$NON-NLS-1$
- String code = sb.toString();
-
- IASTTranslationUnit tu = parse(code);
-
- IASTDeclaration[] declarations = tu.getDeclarations();
- assertNotNull(declarations);
- assertEquals(1, declarations.length);
-
- IASTFunctionDefinition main = (IASTFunctionDefinition) declarations[0];
- IASTStatement[] body = ((IASTCompoundStatement)main.getBody()).getStatements();
- assertEquals(7, body.length);
-
- IUPCASTSynchronizationStatement stat;
-
- stat = (IUPCASTSynchronizationStatement) body[0];
- assertEquals(stat.getStatementKind(), IUPCASTSynchronizationStatement.st_upc_notify);
- assertNotNull(stat.getBarrierExpression());
-
- stat = (IUPCASTSynchronizationStatement) body[1];
- assertEquals(stat.getStatementKind(), IUPCASTSynchronizationStatement.st_upc_notify);
- assertNull(stat.getBarrierExpression());
-
- stat = (IUPCASTSynchronizationStatement) body[2];
- assertEquals(stat.getStatementKind(), IUPCASTSynchronizationStatement.st_upc_wait);
- assertNotNull(stat.getBarrierExpression());
-
- stat = (IUPCASTSynchronizationStatement) body[3];
- assertEquals(stat.getStatementKind(), IUPCASTSynchronizationStatement.st_upc_wait);
- assertNull(stat.getBarrierExpression());
-
- stat = (IUPCASTSynchronizationStatement) body[4];
- assertEquals(stat.getStatementKind(), IUPCASTSynchronizationStatement.st_upc_barrier);
- assertNotNull(stat.getBarrierExpression());
-
- stat = (IUPCASTSynchronizationStatement) body[5];
- assertEquals(stat.getStatementKind(), IUPCASTSynchronizationStatement.st_upc_barrier);
- assertNull(stat.getBarrierExpression());
-
- stat = (IUPCASTSynchronizationStatement) body[6];
- assertEquals(stat.getStatementKind(), IUPCASTSynchronizationStatement.st_upc_fence);
- assertNull(stat.getBarrierExpression());
- }
-
- public void testUPCSizeofExpressions() throws Exception {
- StringBuffer sb = new StringBuffer();
- sb.append("int main() {\n");//$NON-NLS-1$
- sb.append(" sizeof(int); \n");//$NON-NLS-1$
- sb.append(" sizeof x; \n");//$NON-NLS-1$
- sb.append(" upc_localsizeof(int); \n");//$NON-NLS-1$
- sb.append(" upc_localsizeof x; \n");//$NON-NLS-1$
- sb.append(" upc_blocksizeof(int); \n");//$NON-NLS-1$
- sb.append(" upc_blocksizeof x; \n");//$NON-NLS-1$
- sb.append(" upc_elemsizeof(int); \n");//$NON-NLS-1$
- sb.append(" upc_elemsizeof x; \n");//$NON-NLS-1$
- sb.append("}\n");//$NON-NLS-1$
- String code = sb.toString();
-
- IASTTranslationUnit tu = parse(code);
-
- IASTDeclaration[] declarations = tu.getDeclarations();
- assertNotNull(declarations);
- assertEquals(1, declarations.length);
-
- IASTFunctionDefinition main = (IASTFunctionDefinition) declarations[0];
- IASTStatement[] body = ((IASTCompoundStatement)main.getBody()).getStatements();
- assertEquals(8, body.length);
-
-
-
- IASTTypeIdExpression idexpr = (IASTTypeIdExpression)((IASTExpressionStatement)body[0]).getExpression();
-
- IASTUnaryExpression cexpr = (IASTUnaryExpression)((IASTExpressionStatement)body[1]).getExpression();
- assertEquals(IASTUnaryExpression.op_sizeof, cexpr.getOperator());
-
- IUPCASTSizeofExpression expr;
-
- expr = (IUPCASTSizeofExpression)((IASTExpressionStatement)body[2]).getExpression();
- assertEquals(IUPCASTSizeofExpression.op_upc_localsizeof, expr.getUPCSizeofOperator());
-
- expr = (IUPCASTSizeofExpression)((IASTExpressionStatement)body[3]).getExpression();
- assertEquals(IUPCASTSizeofExpression.op_upc_localsizeof, expr.getUPCSizeofOperator());
-
- expr = (IUPCASTSizeofExpression)((IASTExpressionStatement)body[4]).getExpression();
- assertEquals(IUPCASTSizeofExpression.op_upc_blocksizeof, expr.getUPCSizeofOperator());
-
- expr = (IUPCASTSizeofExpression)((IASTExpressionStatement)body[5]).getExpression();
- assertEquals(IUPCASTSizeofExpression.op_upc_blocksizeof, expr.getUPCSizeofOperator());
-
- expr = (IUPCASTSizeofExpression)((IASTExpressionStatement)body[6]).getExpression();
- assertEquals(IUPCASTSizeofExpression.op_upc_elemsizeof, expr.getUPCSizeofOperator());
-
- expr = (IUPCASTSizeofExpression)((IASTExpressionStatement)body[7]).getExpression();
- assertEquals(IUPCASTSizeofExpression.op_upc_elemsizeof, expr.getUPCSizeofOperator());
- }
-}
diff --git a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/UPCParser.java b/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/UPCParser.java
deleted file mode 100644
index bcb01a4cf7..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/UPCParser.java
+++ /dev/null
@@ -1,1725 +0,0 @@
-/*******************************************************************************
-* Copyright (c) 2006, 2007 IBM Corporation 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
-* http://www.eclipse.org/legal/epl-v10.html
-*
-* Contributors:
-* IBM Corporation - initial API and implementation
-*********************************************************************************/
-
-// This file was generated by LPG
-
-package org.eclipse.cdt.internal.core.dom.parser.upc;
-
-import lpg.lpgjavaruntime.*;
-
-import java.util.*;
-
-import org.eclipse.cdt.core.dom.ast.*;
-import org.eclipse.cdt.core.dom.c99.IParserActionTokenProvider;
-import org.eclipse.cdt.core.dom.c99.IParser;
-import org.eclipse.cdt.core.dom.c99.IParseResult;
-import org.eclipse.cdt.core.dom.parser.c99.C99ParseResult;
-import org.eclipse.cdt.core.dom.parser.c99.C99ParserAction;
-import org.eclipse.cdt.core.dom.ast.IASTCompletionNode;
-import org.eclipse.cdt.core.dom.c99.IKeywordMap;
-import org.eclipse.cdt.core.dom.parser.c99.C99KeywordMap;
-
-import org.eclipse.cdt.core.dom.upc.ast.IUPCASTKeywordExpression;
-import org.eclipse.cdt.core.dom.upc.ast.IUPCASTSizeofExpression;
-import org.eclipse.cdt.core.dom.upc.ast.IUPCASTSynchronizationStatement;
-import org.eclipse.cdt.internal.core.dom.parser.c99.C99Lexer;
-import org.eclipse.cdt.internal.core.dom.parser.c99.C99Parsersym;
-import org.eclipse.cdt.core.dom.parser.upc.UPCKeywordMap;
-import org.eclipse.cdt.core.dom.parser.upc.UPCParserAction;
-
-public class UPCParser extends PrsStream implements RuleAction , IParserActionTokenProvider, IParser
-{
- private static ParseTable prs = new UPCParserprs();
- private BacktrackingParser btParser;
-
- public BacktrackingParser getParser() { return btParser; }
- private void setResult(Object object) { btParser.setSym1(object); }
- public Object getRhsSym(int i) { return btParser.getSym(i); }
-
- public int getRhsTokenIndex(int i) { return btParser.getToken(i); }
- public IToken getRhsIToken(int i) { return super.getIToken(getRhsTokenIndex(i)); }
-
- public int getRhsFirstTokenIndex(int i) { return btParser.getFirstToken(i); }
- public IToken getRhsFirstIToken(int i) { return super.getIToken(getRhsFirstTokenIndex(i)); }
-
- public int getRhsLastTokenIndex(int i) { return btParser.getLastToken(i); }
- public IToken getRhsLastIToken(int i) { return super.getIToken(getRhsLastTokenIndex(i)); }
-
- public int getLeftSpan() { return btParser.getFirstToken(); }
- public IToken getLeftIToken() { return super.getIToken(getLeftSpan()); }
-
- public int getRightSpan() { return btParser.getLastToken(); }
- public IToken getRightIToken() { return super.getIToken(getRightSpan()); }
-
- public int getRhsErrorTokenIndex(int i)
- {
- int index = btParser.getToken(i);
- IToken err = super.getIToken(index);
- return (err instanceof ErrorToken ? index : 0);
- }
- public ErrorToken getRhsErrorIToken(int i)
- {
- int index = btParser.getToken(i);
- IToken err = super.getIToken(index);
- return (ErrorToken) (err instanceof ErrorToken ? err : null);
- }
-
- public UPCParser(LexStream lexStream)
- {
- super(lexStream);
-
- try
- {
- super.remapTerminalSymbols(orderedTerminalSymbols(), UPCParserprs.EOFT_SYMBOL);
- }
- catch(NullExportedSymbolsException e) {
- }
- catch(NullTerminalSymbolsException e) {
- }
- catch(UnimplementedTerminalsException e)
- {
- java.util.ArrayList unimplemented_symbols = e.getSymbols();
- System.out.println("The Lexer will not scan the following token(s):");//$NON-NLS-1$
- for (int i = 0; i < unimplemented_symbols.size(); i++)
- {
- Integer id = (Integer) unimplemented_symbols.get(i);
- System.out.println(" " + UPCParsersym.orderedTerminalSymbols[id.intValue()]); //$NON-NLS-1$
- }
- System.out.println();
- }
- catch(UndefinedEofSymbolException e)
- {
- throw new Error(new UndefinedEofSymbolException
- ("The Lexer does not implement the Eof symbol " +//$NON-NLS-1$
- UPCParsersym.orderedTerminalSymbols[UPCParserprs.EOFT_SYMBOL]));
- }
- }
-
- public String[] orderedTerminalSymbols() { return UPCParsersym.orderedTerminalSymbols; }
- public String getTokenKindName(int kind) { return UPCParsersym.orderedTerminalSymbols[kind]; }
- public int getEOFTokenKind() { return UPCParserprs.EOFT_SYMBOL; }
- public PrsStream getParseStream() { return (PrsStream) this; }
-
- //
- // Report error message for given error_token.
- //
- public final void reportErrorTokenMessage(int error_token, String msg)
- {
- int firsttok = super.getFirstErrorToken(error_token),
- lasttok = super.getLastErrorToken(error_token);
- String location = super.getFileName() + ':' +
- (firsttok > lasttok
- ? (super.getEndLine(lasttok) + ":" + super.getEndColumn(lasttok))//$NON-NLS-1$
- : (super.getLine(error_token) + ":" +//$NON-NLS-1$
- super.getColumn(error_token) + ":" +//$NON-NLS-1$
- super.getEndLine(error_token) + ":" +//$NON-NLS-1$
- super.getEndColumn(error_token)))
- + ": ";//$NON-NLS-1$
- super.reportError((firsttok > lasttok ? ParseErrorCodes.INSERTION_CODE : ParseErrorCodes.SUBSTITUTION_CODE), location, msg);
- }
-
- public Object parser()
- {
- return parser(null, 0);
- }
-
- public Object parser(Monitor monitor)
- {
- return parser(monitor, 0);
- }
-
- public Object parser(int error_repair_count)
- {
- return parser(null, error_repair_count);
- }
-
- public Object parser(Monitor monitor, int error_repair_count)
- {
- try
- {
- btParser = new BacktrackingParser(monitor, (TokenStream) this, prs, (RuleAction) this);
- }
- catch (NotBacktrackParseTableException e)
- {
- throw new Error(new NotBacktrackParseTableException
- ("Regenerate UPCParserprs.java with -BACKTRACK option"));//$NON-NLS-1$
- }
- catch (BadParseSymFileException e)
- {
- throw new Error(new BadParseSymFileException("Bad Parser Symbol File -- UPCParsersym.java"));//$NON-NLS-1$
- }
-
- try
- {
- return (Object) btParser.parse(error_repair_count);
- }
- catch (BadParseException e)
- {
- reset(e.error_token); // point to error token
- DiagnoseParser diagnoseParser = new DiagnoseParser(this, prs);
- diagnoseParser.diagnose(e.error_token);
- }
-
- return null;
- }
-
-
-private UPCParserAction action = new UPCParserAction (this);
-private List commentTokens = new ArrayList();
-private IKeywordMap keywordMap = new UPCKeywordMap ();
-
-public UPCParser() { // constructor
- this(new UPCLexer ());
-}
-
-public void addToken(IToken token) {
- int newKind = mapKind(token.getKind());
- if(newKind == UPCParserprs.TK_identifier) {
- Integer keywordKind = keywordMap.getKeywordKind(token.toString());
- if(keywordKind != null) {
- newKind = keywordKind.intValue();
- }
- }
- token.setKind(newKind);
- super.addToken(token);
-}
-
-public void addCommentToken(IToken token) {
- commentTokens.add(token);
-}
-
-public List getCommentTokens() {
- return commentTokens;
-}
-
-public void resetTokenStream() {
- super.resetTokenStream();
- action = new UPCParserAction (this);
- commentTokens = new ArrayList();
-}
-
-
-public IParseResult parse() {
- // this has to be done, or... kaboom!
- setStreamLength(getSize());
-
- final int errorRepairCount = -1; // -1 means full error handling
-
- if(btParser == null) {
- parser(null, errorRepairCount);
- }
- else {
- try
- {
- // reuse the same btParser object for speed
- // (creating an new instance for every translation unit is dirt slow)
- btParser.parse(errorRepairCount);
- }
- catch (BadParseException e)
- {
- reset(e.error_token); // point to error token
- DiagnoseParser diagnoseParser = new DiagnoseParser(this, prs);
- diagnoseParser.diagnose(e.error_token);
- }
- }
-
- IASTTranslationUnit tu = action.getAST();
- boolean encounteredError = action.encounteredError();
- IASTCompletionNode compNode = action.getASTCompletionNode();
-
- resetTokenStream(); // important, allows memory to be reclaimed
- return new C99ParseResult(tu, compNode, encounteredError);
-}
-
-
-// implements IParserActionTokenProvider.getEOFToken()
-public IToken getEOFToken() {
- List tokens = getTokens();
- IToken eof = (IToken) tokens.get(tokens.size() - 1);
- return eof;
-}
-
-
-// implements IParserActionTokenProvider.getRuleTokenCount()
-public int getRuleTokenCount() {
- return (getRightSpan() - getLeftSpan()) + 1;
-}
-
-public List getRuleTokens() {
- return Collections.unmodifiableList(getTokens().subList(getLeftSpan(), getRightSpan() + 1));
-}
-
-
- public void ruleAction(int ruleNumber)
- {
- switch (ruleNumber)
- {
-
- //
- // Rule 1: <openscope> ::= $Empty
- //
- case 1: { action.beforeConsume(); action. openASTScope(); break;
- }
-
- //
- // Rule 12: constant ::= integer
- //
- case 12: { action.beforeConsume(); action. consumeExpressionConstant(IASTLiteralExpression.lk_integer_constant); break;
- }
-
- //
- // Rule 13: constant ::= floating
- //
- case 13: { action.beforeConsume(); action. consumeExpressionConstant(IASTLiteralExpression.lk_float_constant); break;
- }
-
- //
- // Rule 14: constant ::= charconst
- //
- case 14: { action.beforeConsume(); action. consumeExpressionConstant(IASTLiteralExpression.lk_char_constant); break;
- }
-
- //
- // Rule 15: constant ::= stringlit
- //
- case 15: { action.beforeConsume(); action. consumeExpressionConstant(IASTLiteralExpression.lk_string_literal); break;
- }
-
- //
- // Rule 17: primary_expression ::= identifier_or_completion
- //
- case 17: { action.beforeConsume(); action. consumeExpressionID(); break;
- }
-
- //
- // Rule 18: primary_expression ::= ( expression )
- //
- case 18: { action.beforeConsume(); action. consumeExpressionBracketed(); break;
- }
-
- //
- // Rule 20: postfix_expression ::= postfix_expression [ expression ]
- //
- case 20: { action.beforeConsume(); action. consumeExpressionArraySubscript(); break;
- }
-
- //
- // Rule 21: postfix_expression ::= postfix_expression ( )
- //
- case 21: { action.beforeConsume(); action. consumeExpressionFunctionCall(false); break;
- }
-
- //
- // Rule 22: postfix_expression ::= postfix_expression ( argument_expression_list )
- //
- case 22: { action.beforeConsume(); action. consumeExpressionFunctionCall(true); break;
- }
-
- //
- // Rule 23: postfix_expression ::= postfix_expression . member_name
- //
- case 23: { action.beforeConsume(); action. consumeExpressionFieldReference(false); break;
- }
-
- //
- // Rule 24: postfix_expression ::= postfix_expression -> member_name
- //
- case 24: { action.beforeConsume(); action. consumeExpressionFieldReference(true); break;
- }
-
- //
- // Rule 25: postfix_expression ::= postfix_expression ++
- //
- case 25: { action.beforeConsume(); action. consumeExpressionUnaryOperator(IASTUnaryExpression.op_postFixIncr); break;
- }
-
- //
- // Rule 26: postfix_expression ::= postfix_expression --
- //
- case 26: { action.beforeConsume(); action. consumeExpressionUnaryOperator(IASTUnaryExpression.op_postFixDecr); break;
- }
-
- //
- // Rule 27: postfix_expression ::= ( type_name ) { <openscope> initializer_list }
- //
- case 27: { action.beforeConsume(); action. consumeExpressionTypeIdInitializer(); break;
- }
-
- //
- // Rule 28: postfix_expression ::= ( type_name ) { <openscope> initializer_list , }
- //
- case 28: { action.beforeConsume(); action. consumeExpressionTypeIdInitializer(); break;
- }
-
- //
- // Rule 30: argument_expression_list ::= assignment_expression
- //
- case 30: { action.beforeConsume(); action. consumeExpressionList(true); break;
- }
-
- //
- // Rule 31: argument_expression_list ::= argument_expression_list , assignment_expression
- //
- case 31: { action.beforeConsume(); action. consumeExpressionList(false); break;
- }
-
- //
- // Rule 33: unary_expression ::= ++ unary_expression
- //
- case 33: { action.beforeConsume(); action. consumeExpressionUnaryOperator(IASTUnaryExpression.op_prefixIncr); break;
- }
-
- //
- // Rule 34: unary_expression ::= -- unary_expression
- //
- case 34: { action.beforeConsume(); action. consumeExpressionUnaryOperator(IASTUnaryExpression.op_prefixDecr); break;
- }
-
- //
- // Rule 35: unary_expression ::= & cast_expression
- //
- case 35: { action.beforeConsume(); action. consumeExpressionUnaryOperator(IASTUnaryExpression.op_amper); break;
- }
-
- //
- // Rule 36: unary_expression ::= * cast_expression
- //
- case 36: { action.beforeConsume(); action. consumeExpressionUnaryOperator(IASTUnaryExpression.op_star); break;
- }
-
- //
- // Rule 37: unary_expression ::= + cast_expression
- //
- case 37: { action.beforeConsume(); action. consumeExpressionUnaryOperator(IASTUnaryExpression.op_plus); break;
- }
-
- //
- // Rule 38: unary_expression ::= - cast_expression
- //
- case 38: { action.beforeConsume(); action. consumeExpressionUnaryOperator(IASTUnaryExpression.op_minus); break;
- }
-
- //
- // Rule 39: unary_expression ::= ~ cast_expression
- //
- case 39: { action.beforeConsume(); action. consumeExpressionUnaryOperator(IASTUnaryExpression.op_tilde); break;
- }
-
- //
- // Rule 40: unary_expression ::= ! cast_expression
- //
- case 40: { action.beforeConsume(); action. consumeExpressionUnaryOperator(IASTUnaryExpression.op_not); break;
- }
-
- //
- // Rule 41: unary_expression ::= sizeof unary_expression
- //
- case 41: { action.beforeConsume(); action. consumeExpressionUnaryOperator(IASTUnaryExpression.op_sizeof); break;
- }
-
- //
- // Rule 42: unary_expression ::= sizeof ( type_name )
- //
- case 42: { action.beforeConsume(); action. consumeExpressionUnarySizeofTypeName(); break;
- }
-
- //
- // Rule 44: cast_expression ::= ( type_name ) cast_expression
- //
- case 44: { action.beforeConsume(); action. consumeExpressionCast(); break;
- }
-
- //
- // Rule 46: multiplicative_expression ::= multiplicative_expression * cast_expression
- //
- case 46: { action.beforeConsume(); action. consumeExpressionBinaryOperator(IASTBinaryExpression.op_multiply); break;
- }
-
- //
- // Rule 47: multiplicative_expression ::= multiplicative_expression / cast_expression
- //
- case 47: { action.beforeConsume(); action. consumeExpressionBinaryOperator(IASTBinaryExpression.op_divide); break;
- }
-
- //
- // Rule 48: multiplicative_expression ::= multiplicative_expression % cast_expression
- //
- case 48: { action.beforeConsume(); action. consumeExpressionBinaryOperator(IASTBinaryExpression.op_modulo); break;
- }
-
- //
- // Rule 50: additive_expression ::= additive_expression + multiplicative_expression
- //
- case 50: { action.beforeConsume(); action. consumeExpressionBinaryOperator(IASTBinaryExpression.op_plus); break;
- }
-
- //
- // Rule 51: additive_expression ::= additive_expression - multiplicative_expression
- //
- case 51: { action.beforeConsume(); action. consumeExpressionBinaryOperator(IASTBinaryExpression.op_minus); break;
- }
-
- //
- // Rule 53: shift_expression ::= shift_expression << additive_expression
- //
- case 53: { action.beforeConsume(); action. consumeExpressionBinaryOperator(IASTBinaryExpression.op_shiftLeft); break;
- }
-
- //
- // Rule 54: shift_expression ::= shift_expression >> additive_expression
- //
- case 54: { action.beforeConsume(); action. consumeExpressionBinaryOperator(IASTBinaryExpression.op_shiftRight); break;
- }
-
- //
- // Rule 56: relational_expression ::= relational_expression < shift_expression
- //
- case 56: { action.beforeConsume(); action. consumeExpressionBinaryOperator(IASTBinaryExpression.op_lessThan); break;
- }
-
- //
- // Rule 57: relational_expression ::= relational_expression > shift_expression
- //
- case 57: { action.beforeConsume(); action. consumeExpressionBinaryOperator(IASTBinaryExpression.op_greaterThan); break;
- }
-
- //
- // Rule 58: relational_expression ::= relational_expression <= shift_expression
- //
- case 58: { action.beforeConsume(); action. consumeExpressionBinaryOperator(IASTBinaryExpression.op_lessEqual); break;
- }
-
- //
- // Rule 59: relational_expression ::= relational_expression >= shift_expression
- //
- case 59: { action.beforeConsume(); action. consumeExpressionBinaryOperator(IASTBinaryExpression.op_greaterEqual); break;
- }
-
- //
- // Rule 61: equality_expression ::= equality_expression == relational_expression
- //
- case 61: { action.beforeConsume(); action. consumeExpressionBinaryOperator(IASTBinaryExpression.op_equals); break;
- }
-
- //
- // Rule 62: equality_expression ::= equality_expression != relational_expression
- //
- case 62: { action.beforeConsume(); action. consumeExpressionBinaryOperator(IASTBinaryExpression.op_notequals); break;
- }
-
- //
- // Rule 64: AND_expression ::= AND_expression & equality_expression
- //
- case 64: { action.beforeConsume(); action. consumeExpressionBinaryOperator(IASTBinaryExpression.op_binaryAnd); break;
- }
-
- //
- // Rule 66: exclusive_OR_expression ::= exclusive_OR_expression ^ AND_expression
- //
- case 66: { action.beforeConsume(); action. consumeExpressionBinaryOperator(IASTBinaryExpression.op_binaryXor); break;
- }
-
- //
- // Rule 68: inclusive_OR_expression ::= inclusive_OR_expression | exclusive_OR_expression
- //
- case 68: { action.beforeConsume(); action. consumeExpressionBinaryOperator(IASTBinaryExpression.op_binaryOr); break;
- }
-
- //
- // Rule 70: logical_AND_expression ::= logical_AND_expression && inclusive_OR_expression
- //
- case 70: { action.beforeConsume(); action. consumeExpressionBinaryOperator(IASTBinaryExpression.op_logicalAnd); break;
- }
-
- //
- // Rule 72: logical_OR_expression ::= logical_OR_expression || logical_AND_expression
- //
- case 72: { action.beforeConsume(); action. consumeExpressionBinaryOperator(IASTBinaryExpression.op_logicalOr); break;
- }
-
- //
- // Rule 74: conditional_expression ::= logical_OR_expression ? expression : conditional_expression
- //
- case 74: { action.beforeConsume(); action. consumeExpressionConditional(); break;
- }
-
- //
- // Rule 76: assignment_expression ::= unary_expression = assignment_expression
- //
- case 76: { action.beforeConsume(); action. consumeExpressionBinaryOperator(IASTBinaryExpression.op_assign); break;
- }
-
- //
- // Rule 77: assignment_expression ::= unary_expression *= assignment_expression
- //
- case 77: { action.beforeConsume(); action. consumeExpressionBinaryOperator(IASTBinaryExpression.op_multiplyAssign); break;
- }
-
- //
- // Rule 78: assignment_expression ::= unary_expression /= assignment_expression
- //
- case 78: { action.beforeConsume(); action. consumeExpressionBinaryOperator(IASTBinaryExpression.op_divideAssign); break;
- }
-
- //
- // Rule 79: assignment_expression ::= unary_expression %= assignment_expression
- //
- case 79: { action.beforeConsume(); action. consumeExpressionBinaryOperator(IASTBinaryExpression.op_moduloAssign); break;
- }
-
- //
- // Rule 80: assignment_expression ::= unary_expression += assignment_expression
- //
- case 80: { action.beforeConsume(); action. consumeExpressionBinaryOperator(IASTBinaryExpression.op_plusAssign); break;
- }
-
- //
- // Rule 81: assignment_expression ::= unary_expression -= assignment_expression
- //
- case 81: { action.beforeConsume(); action. consumeExpressionBinaryOperator(IASTBinaryExpression.op_minusAssign); break;
- }
-
- //
- // Rule 82: assignment_expression ::= unary_expression <<= assignment_expression
- //
- case 82: { action.beforeConsume(); action. consumeExpressionBinaryOperator(IASTBinaryExpression.op_shiftLeftAssign); break;
- }
-
- //
- // Rule 83: assignment_expression ::= unary_expression >>= assignment_expression
- //
- case 83: { action.beforeConsume(); action. consumeExpressionBinaryOperator(IASTBinaryExpression.op_shiftRightAssign); break;
- }
-
- //
- // Rule 84: assignment_expression ::= unary_expression &= assignment_expression
- //
- case 84: { action.beforeConsume(); action. consumeExpressionBinaryOperator(IASTBinaryExpression.op_binaryAndAssign); break;
- }
-
- //
- // Rule 85: assignment_expression ::= unary_expression ^= assignment_expression
- //
- case 85: { action.beforeConsume(); action. consumeExpressionBinaryOperator(IASTBinaryExpression.op_binaryXorAssign); break;
- }
-
- //
- // Rule 86: assignment_expression ::= unary_expression |= assignment_expression
- //
- case 86: { action.beforeConsume(); action. consumeExpressionBinaryOperator(IASTBinaryExpression.op_binaryOrAssign); break;
- }
-
- //
- // Rule 87: expression_in_statement ::= expression_list
- //
- case 87: { action.beforeConsume(); action. consumeExpression(); break;
- }
-
- //
- // Rule 88: expression ::= expression_list
- //
- case 88: { action.beforeConsume(); action. consumeExpression(); break;
- }
-
- //
- // Rule 89: expression_list ::= assignment_expression
- //
- case 89: { action.beforeConsume(); action. consumeExpressionList(true); break;
- }
-
- //
- // Rule 90: expression_list ::= expression_list , assignment_expression
- //
- case 90: { action.beforeConsume(); action. consumeExpressionList(false); break;
- }
-
- //
- // Rule 98: statement ::= ERROR_TOKEN
- //
- case 98: { action.beforeConsume(); action. consumeStatementProblem(); break;
- }
-
- //
- // Rule 99: labeled_statement ::= label_identifier : statement
- //
- case 99: { action.beforeConsume(); action. consumeStatementLabeled(); break;
- }
-
- //
- // Rule 100: labeled_statement ::= case constant_expression :
- //
- case 100: { action.beforeConsume(); action. consumeStatementCase(); break;
- }
-
- //
- // Rule 101: labeled_statement ::= default :
- //
- case 101: { action.beforeConsume(); action. consumeStatementDefault(); break;
- }
-
- //
- // Rule 102: label_identifier ::= identifier
- //
- case 102: { action.beforeConsume(); action. consumeName(); break;
- }
-
- //
- // Rule 103: compound_statement ::= { }
- //
- case 103: { action.beforeConsume(); action. consumeStatementEmptyCompoundStatement(); break;
- }
-
- //
- // Rule 104: compound_statement ::= { <openscope> block_item_list }
- //
- case 104: { action.beforeConsume(); action. consumeStatementCompoundStatement(); break;
- }
-
- //
- // Rule 108: block_item ::= declaration
- //
- case 108: { action.beforeConsume(); action. consumeStatementDeclaration(); break;
- }
-
- //
- // Rule 109: expression_statement ::= ;
- //
- case 109: { action.beforeConsume(); action. consumeStatementNull(); break;
- }
-
- //
- // Rule 110: expression_statement ::= expression_in_statement ;
- //
- case 110: { action.beforeConsume(); action. consumeStatementExpression(); break;
- }
-
- //
- // Rule 111: selection_statement ::= if ( expression ) statement
- //
- case 111: { action.beforeConsume(); action. consumeStatementIfThen(); break;
- }
-
- //
- // Rule 112: selection_statement ::= if ( expression ) statement else statement
- //
- case 112: { action.beforeConsume(); action. consumeStatementIfThenElse(); break;
- }
-
- //
- // Rule 113: selection_statement ::= switch ( expression ) statement
- //
- case 113: { action.beforeConsume(); action. consumeStatementSwitch(); break;
- }
-
- //
- // Rule 114: iteration_statement ::= do statement while ( expression ) ;
- //
- case 114: { action.beforeConsume(); action. consumeStatementDoLoop(); break;
- }
-
- //
- // Rule 115: iteration_statement ::= while ( expression ) statement
- //
- case 115: { action.beforeConsume(); action. consumeStatementWhileLoop(); break;
- }
-
- //
- // Rule 116: iteration_statement ::= for ( expression ; expression ; expression ) statement
- //
- case 116: { action.beforeConsume(); action. consumeStatementForLoop(true, true, true); break;
- }
-
- //
- // Rule 117: iteration_statement ::= for ( expression ; expression ; ) statement
- //
- case 117: { action.beforeConsume(); action. consumeStatementForLoop(true, true, false); break;
- }
-
- //
- // Rule 118: iteration_statement ::= for ( expression ; ; expression ) statement
- //
- case 118: { action.beforeConsume(); action. consumeStatementForLoop(true, false, true); break;
- }
-
- //
- // Rule 119: iteration_statement ::= for ( expression ; ; ) statement
- //
- case 119: { action.beforeConsume(); action. consumeStatementForLoop(true, false, false); break;
- }
-
- //
- // Rule 120: iteration_statement ::= for ( ; expression ; expression ) statement
- //
- case 120: { action.beforeConsume(); action. consumeStatementForLoop(false, true, true); break;
- }
-
- //
- // Rule 121: iteration_statement ::= for ( ; expression ; ) statement
- //
- case 121: { action.beforeConsume(); action. consumeStatementForLoop(false, true, false); break;
- }
-
- //
- // Rule 122: iteration_statement ::= for ( ; ; expression ) statement
- //
- case 122: { action.beforeConsume(); action. consumeStatementForLoop(false, false, true); break;
- }
-
- //
- // Rule 123: iteration_statement ::= for ( ; ; ) statement
- //
- case 123: { action.beforeConsume(); action. consumeStatementForLoop(false, false, false); break;
- }
-
- //
- // Rule 124: iteration_statement ::= for ( declaration expression ; expression ) statement
- //
- case 124: { action.beforeConsume(); action. consumeStatementForLoop(true, true, true); break;
- }
-
- //
- // Rule 125: iteration_statement ::= for ( declaration expression ; ) statement
- //
- case 125: { action.beforeConsume(); action. consumeStatementForLoop(true, true, false); break;
- }
-
- //
- // Rule 126: iteration_statement ::= for ( declaration ; expression ) statement
- //
- case 126: { action.beforeConsume(); action. consumeStatementForLoop(true, false, true); break;
- }
-
- //
- // Rule 127: iteration_statement ::= for ( declaration ; ) statement
- //
- case 127: { action.beforeConsume(); action. consumeStatementForLoop(true, false, false); break;
- }
-
- //
- // Rule 128: jump_statement ::= goto goto_identifier ;
- //
- case 128: { action.beforeConsume(); action. consumeStatementGoto(); break;
- }
-
- //
- // Rule 129: jump_statement ::= continue ;
- //
- case 129: { action.beforeConsume(); action. consumeStatementContinue(); break;
- }
-
- //
- // Rule 130: jump_statement ::= break ;
- //
- case 130: { action.beforeConsume(); action. consumeStatementBreak(); break;
- }
-
- //
- // Rule 131: jump_statement ::= return ;
- //
- case 131: { action.beforeConsume(); action. consumeStatementReturn(false); break;
- }
-
- //
- // Rule 132: jump_statement ::= return expression ;
- //
- case 132: { action.beforeConsume(); action. consumeStatementReturn(true); break;
- }
-
- //
- // Rule 133: goto_identifier ::= identifier
- //
- case 133: { action.beforeConsume(); action. consumeName(); break;
- }
-
- //
- // Rule 134: declaration ::= declaration_specifiers ;
- //
- case 134: { action.beforeConsume(); action. consumeDeclaration(false); break;
- }
-
- //
- // Rule 135: declaration ::= declaration_specifiers <openscope> init_declarator_list ;
- //
- case 135: { action.beforeConsume(); action. consumeDeclaration(true); break;
- }
-
- //
- // Rule 136: declaration_specifiers ::= <openscope> simple_declaration_specifiers
- //
- case 136: { action.beforeConsume(); action. consumeDeclarationSpecifiersSimple(); break;
- }
-
- //
- // Rule 137: declaration_specifiers ::= <openscope> struct_or_union_declaration_specifiers
- //
- case 137: { action.beforeConsume(); action. consumeDeclarationSpecifiersStructUnionEnum(); break;
- }
-
- //
- // Rule 138: declaration_specifiers ::= <openscope> enum_declaration_specifiers
- //
- case 138: { action.beforeConsume(); action. consumeDeclarationSpecifiersStructUnionEnum(); break;
- }
-
- //
- // Rule 139: declaration_specifiers ::= <openscope> typdef_name_declaration_specifiers
- //
- case 139: { action.beforeConsume(); action. consumeDeclarationSpecifiersTypedefName(); break;
- }
-
- //
- // Rule 161: init_declarator ::= declarator = initializer
- //
- case 161: { action.beforeConsume(); action. consumeDeclaratorWithInitializer(); break;
- }
-
- //
- // Rule 162: storage_class_specifier ::= typedef
- //
- case 162: { action.beforeConsume(); action. consumeToken(); break;
- }
-
- //
- // Rule 163: storage_class_specifier ::= extern
- //
- case 163: { action.beforeConsume(); action. consumeToken(); break;
- }
-
- //
- // Rule 164: storage_class_specifier ::= static
- //
- case 164: { action.beforeConsume(); action. consumeToken(); break;
- }
-
- //
- // Rule 165: storage_class_specifier ::= auto
- //
- case 165: { action.beforeConsume(); action. consumeToken(); break;
- }
-
- //
- // Rule 166: storage_class_specifier ::= register
- //
- case 166: { action.beforeConsume(); action. consumeToken(); break;
- }
-
- //
- // Rule 167: type_specifier ::= void
- //
- case 167: { action.beforeConsume(); action. consumeToken(); break;
- }
-
- //
- // Rule 168: type_specifier ::= char
- //
- case 168: { action.beforeConsume(); action. consumeToken(); break;
- }
-
- //
- // Rule 169: type_specifier ::= short
- //
- case 169: { action.beforeConsume(); action. consumeToken(); break;
- }
-
- //
- // Rule 170: type_specifier ::= int
- //
- case 170: { action.beforeConsume(); action. consumeToken(); break;
- }
-
- //
- // Rule 171: type_specifier ::= long
- //
- case 171: { action.beforeConsume(); action. consumeToken(); break;
- }
-
- //
- // Rule 172: type_specifier ::= float
- //
- case 172: { action.beforeConsume(); action. consumeToken(); break;
- }
-
- //
- // Rule 173: type_specifier ::= double
- //
- case 173: { action.beforeConsume(); action. consumeToken(); break;
- }
-
- //
- // Rule 174: type_specifier ::= signed
- //
- case 174: { action.beforeConsume(); action. consumeToken(); break;
- }
-
- //
- // Rule 175: type_specifier ::= unsigned
- //
- case 175: { action.beforeConsume(); action. consumeToken(); break;
- }
-
- //
- // Rule 176: type_specifier ::= _Bool
- //
- case 176: { action.beforeConsume(); action. consumeToken(); break;
- }
-
- //
- // Rule 177: type_specifier ::= _Complex
- //
- case 177: { action.beforeConsume(); action. consumeToken(); break;
- }
-
- //
- // Rule 178: type_specifier ::= _Imaginary
- //
- case 178: { action.beforeConsume(); action. consumeToken(); break;
- }
-
- //
- // Rule 179: typedef_name ::= identifier_or_completion
- //
- case 179: { action.beforeConsume(); action. consumeToken(); break;
- }
-
- //
- // Rule 180: struct_or_union_specifier ::= struct { <openscope> struct_declaration_list_opt }
- //
- case 180: { action.beforeConsume(); action. consumeTypeSpecifierComposite(false, IASTCompositeTypeSpecifier.k_struct); break;
- }
-
- //
- // Rule 181: struct_or_union_specifier ::= union { <openscope> struct_declaration_list_opt }
- //
- case 181: { action.beforeConsume(); action. consumeTypeSpecifierComposite(false, IASTCompositeTypeSpecifier.k_union); break;
- }
-
- //
- // Rule 182: struct_or_union_specifier ::= struct struct_or_union_identifier { <openscope> struct_declaration_list_opt }
- //
- case 182: { action.beforeConsume(); action. consumeTypeSpecifierComposite(true, IASTCompositeTypeSpecifier.k_struct); break;
- }
-
- //
- // Rule 183: struct_or_union_specifier ::= union struct_or_union_identifier { <openscope> struct_declaration_list_opt }
- //
- case 183: { action.beforeConsume(); action. consumeTypeSpecifierComposite(true, IASTCompositeTypeSpecifier.k_union); break;
- }
-
- //
- // Rule 184: struct_or_union_specifier ::= struct struct_or_union_identifier
- //
- case 184: { action.beforeConsume(); action. consumeTypeSpecifierElaborated(IASTElaboratedTypeSpecifier.k_struct); break;
- }
-
- //
- // Rule 185: struct_or_union_specifier ::= union struct_or_union_identifier
- //
- case 185: { action.beforeConsume(); action. consumeTypeSpecifierElaborated(IASTElaboratedTypeSpecifier.k_union); break;
- }
-
- //
- // Rule 186: struct_or_union_identifier ::= identifier
- //
- case 186: { action.beforeConsume(); action. consumeName(); break;
- }
-
- //
- // Rule 191: struct_declaration ::= specifier_qualifier_list <openscope> struct_declarator_list ;
- //
- case 191: { action.beforeConsume(); action. consumeStructDeclaration(true); break;
- }
-
- //
- // Rule 192: struct_declaration ::= specifier_qualifier_list ;
- //
- case 192: { action.beforeConsume(); action. consumeStructDeclaration(false); break;
- }
-
- //
- // Rule 197: struct_declarator ::= : constant_expression
- //
- case 197: { action.beforeConsume(); action. consumeStructBitField(false); break;
- }
-
- //
- // Rule 198: struct_declarator ::= declarator : constant_expression
- //
- case 198: { action.beforeConsume(); action. consumeStructBitField(true); break;
- }
-
- //
- // Rule 199: enum_identifier ::= identifier
- //
- case 199: { action.beforeConsume(); action. consumeName(); break;
- }
-
- //
- // Rule 200: enum_specifier ::= enum { <openscope> enumerator_list_opt }
- //
- case 200: { action.beforeConsume(); action. consumeTypeSpecifierEnumeration(false); break;
- }
-
- //
- // Rule 201: enum_specifier ::= enum enum_identifier { <openscope> enumerator_list_opt }
- //
- case 201: { action.beforeConsume(); action. consumeTypeSpecifierEnumeration(true); break;
- }
-
- //
- // Rule 202: enum_specifier ::= enum { <openscope> enumerator_list_opt , }
- //
- case 202: { action.beforeConsume(); action. consumeTypeSpecifierEnumeration(false); break;
- }
-
- //
- // Rule 203: enum_specifier ::= enum enum_identifier { <openscope> enumerator_list_opt , }
- //
- case 203: { action.beforeConsume(); action. consumeTypeSpecifierEnumeration(true); break;
- }
-
- //
- // Rule 204: enum_specifier ::= enum enum_identifier
- //
- case 204: { action.beforeConsume(); action. consumeTypeSpecifierElaborated(IASTElaboratedTypeSpecifier.k_enum); break;
- }
-
- //
- // Rule 209: enumerator ::= enum_identifier
- //
- case 209: { action.beforeConsume(); action. consumeEnumerator(false); break;
- }
-
- //
- // Rule 210: enumerator ::= enum_identifier = constant_expression
- //
- case 210: { action.beforeConsume(); action. consumeEnumerator(true); break;
- }
-
- //
- // Rule 211: type_qualifier ::= const
- //
- case 211: { action.beforeConsume(); action. consumeToken(); break;
- }
-
- //
- // Rule 212: type_qualifier ::= restrict
- //
- case 212: { action.beforeConsume(); action. consumeToken(); break;
- }
-
- //
- // Rule 213: type_qualifier ::= volatile
- //
- case 213: { action.beforeConsume(); action. consumeToken(); break;
- }
-
- //
- // Rule 214: function_specifier ::= inline
- //
- case 214: { action.beforeConsume(); action. consumeToken(); break;
- }
-
- //
- // Rule 216: declarator ::= <openscope> pointer direct_declarator
- //
- case 216: { action.beforeConsume(); action. consumeDeclaratorWithPointer(true); break;
- }
-
- //
- // Rule 217: direct_declarator ::= identifier
- //
- case 217: { action.beforeConsume(); action. consumeDirectDeclaratorIdentifier(); break;
- }
-
- //
- // Rule 218: direct_declarator ::= ( declarator )
- //
- case 218: { action.beforeConsume(); action. consumeDirectDeclaratorBracketed(); break;
- }
-
- //
- // Rule 221: array_direct_declarator ::= direct_declarator array_modifier
- //
- case 221: { action.beforeConsume(); action. consumeDirectDeclaratorArrayDeclarator(); break;
- }
-
- //
- // Rule 222: function_direct_declarator ::= direct_declarator ( <openscope> parameter_type_list )
- //
- case 222: { action.beforeConsume(); action. consumeDirectDeclaratorFunctionDeclarator(true); break;
- }
-
- //
- // Rule 223: function_direct_declarator ::= direct_declarator ( )
- //
- case 223: { action.beforeConsume(); action. consumeDirectDeclaratorFunctionDeclarator(false); break;
- }
-
- //
- // Rule 225: function_declarator ::= <openscope> pointer function_direct_declarator
- //
- case 225: { action.beforeConsume(); action. consumeDeclaratorWithPointer(true); break;
- }
-
- //
- // Rule 226: knr_direct_declarator ::= direct_declarator ( <openscope> identifier_list )
- //
- case 226: { action.beforeConsume(); action. consumeDirectDeclaratorFunctionDeclaratorKnR(); break;
- }
-
- //
- // Rule 228: knr_function_declarator ::= <openscope> pointer knr_direct_declarator
- //
- case 228: { action.beforeConsume(); action. consumeDeclaratorWithPointer(true); break;
- }
-
- //
- // Rule 229: array_modifier ::= [ ]
- //
- case 229: { action.beforeConsume(); action. consumeDirectDeclaratorArrayModifier(false); break;
- }
-
- //
- // Rule 230: array_modifier ::= [ <openscope> type_qualifier_list ]
- //
- case 230: { action.beforeConsume(); action. consumeDirectDeclaratorModifiedArrayModifier(false, false, true, false); break;
- }
-
- //
- // Rule 231: array_modifier ::= [ assignment_expression ]
- //
- case 231: { action.beforeConsume(); action. consumeDirectDeclaratorArrayModifier(true ); break;
- }
-
- //
- // Rule 232: array_modifier ::= [ <openscope> type_qualifier_list assignment_expression ]
- //
- case 232: { action.beforeConsume(); action. consumeDirectDeclaratorModifiedArrayModifier(false, false, true, true ); break;
- }
-
- //
- // Rule 233: array_modifier ::= [ static assignment_expression ]
- //
- case 233: { action.beforeConsume(); action. consumeDirectDeclaratorModifiedArrayModifier(true, false, false, true ); break;
- }
-
- //
- // Rule 234: array_modifier ::= [ static <openscope> type_qualifier_list assignment_expression ]
- //
- case 234: { action.beforeConsume(); action. consumeDirectDeclaratorModifiedArrayModifier(true, false, true, true ); break;
- }
-
- //
- // Rule 235: array_modifier ::= [ <openscope> type_qualifier_list static assignment_expression ]
- //
- case 235: { action.beforeConsume(); action. consumeDirectDeclaratorModifiedArrayModifier(true, false, true, true ); break;
- }
-
- //
- // Rule 236: array_modifier ::= [ * ]
- //
- case 236: { action.beforeConsume(); action. consumeDirectDeclaratorModifiedArrayModifier(false, true, false, false); break;
- }
-
- //
- // Rule 237: array_modifier ::= [ <openscope> type_qualifier_list * ]
- //
- case 237: { action.beforeConsume(); action. consumeDirectDeclaratorModifiedArrayModifier(false, true, true, false); break;
- }
-
- //
- // Rule 238: pointer ::= *
- //
- case 238: { action.beforeConsume(); action. consumePointer(); break;
- }
-
- //
- // Rule 239: pointer ::= pointer *
- //
- case 239: { action.beforeConsume(); action. consumePointer(); break;
- }
-
- //
- // Rule 240: pointer ::= * <openscope> type_qualifier_list
- //
- case 240: { action.beforeConsume(); action. consumePointerTypeQualifierList(); break;
- }
-
- //
- // Rule 241: pointer ::= pointer * <openscope> type_qualifier_list
- //
- case 241: { action.beforeConsume(); action. consumePointerTypeQualifierList(); break;
- }
-
- //
- // Rule 249: parameter_declaration ::= declaration_specifiers init_declarator
- //
- case 249: { action.beforeConsume(); action. consumeParameterDeclaration(true); break;
- }
-
- //
- // Rule 250: parameter_declaration ::= declaration_specifiers
- //
- case 250: { action.beforeConsume(); action. consumeParameterDeclaration(false); break;
- }
-
- //
- // Rule 251: parameter_declaration ::= declaration_specifiers abstract_declarator
- //
- case 251: { action.beforeConsume(); action. consumeParameterDeclaration(true); break;
- }
-
- //
- // Rule 252: identifier_list ::= identifier
- //
- case 252: { action.beforeConsume(); action. consumeName(); break;
- }
-
- //
- // Rule 253: identifier_list ::= identifier_list , identifier
- //
- case 253: { action.beforeConsume(); action. consumeName(); break;
- }
-
- //
- // Rule 254: type_name ::= specifier_qualifier_list
- //
- case 254: { action.beforeConsume(); action. consumeTypeId(false); break;
- }
-
- //
- // Rule 255: type_name ::= specifier_qualifier_list abstract_declarator
- //
- case 255: { action.beforeConsume(); action. consumeTypeId(true); break;
- }
-
- //
- // Rule 256: abstract_declarator ::= <openscope> pointer
- //
- case 256: { action.beforeConsume(); action. consumeDeclaratorWithPointer(false); break;
- }
-
- //
- // Rule 258: abstract_declarator ::= <openscope> pointer direct_abstract_declarator
- //
- case 258: { action.beforeConsume(); action. consumeDeclaratorWithPointer(true); break;
- }
-
- //
- // Rule 259: direct_abstract_declarator ::= ( abstract_declarator )
- //
- case 259: { action.beforeConsume(); action. consumeDirectDeclaratorBracketed(); break;
- }
-
- //
- // Rule 260: direct_abstract_declarator ::= array_modifier
- //
- case 260: { action.beforeConsume(); action. consumeAbstractDeclaratorArrayModifier(false); break;
- }
-
- //
- // Rule 261: direct_abstract_declarator ::= direct_abstract_declarator array_modifier
- //
- case 261: { action.beforeConsume(); action. consumeAbstractDeclaratorArrayModifier(true); break;
- }
-
- //
- // Rule 262: direct_abstract_declarator ::= ( )
- //
- case 262: { action.beforeConsume(); action. consumeAbstractDeclaratorFunctionDeclarator(false, false); break;
- }
-
- //
- // Rule 263: direct_abstract_declarator ::= direct_abstract_declarator ( )
- //
- case 263: { action.beforeConsume(); action. consumeAbstractDeclaratorFunctionDeclarator(true, false); break;
- }
-
- //
- // Rule 264: direct_abstract_declarator ::= ( <openscope> parameter_type_list )
- //
- case 264: { action.beforeConsume(); action. consumeAbstractDeclaratorFunctionDeclarator(false, true); break;
- }
-
- //
- // Rule 265: direct_abstract_declarator ::= direct_abstract_declarator ( <openscope> parameter_type_list )
- //
- case 265: { action.beforeConsume(); action. consumeAbstractDeclaratorFunctionDeclarator(true, true); break;
- }
-
- //
- // Rule 266: initializer ::= assignment_expression
- //
- case 266: { action.beforeConsume(); action. consumeInitializer(); break;
- }
-
- //
- // Rule 267: initializer ::= { <openscope> initializer_list }
- //
- case 267: { action.beforeConsume(); action. consumeInitializerList(); break;
- }
-
- //
- // Rule 268: initializer ::= { <openscope> initializer_list , }
- //
- case 268: { action.beforeConsume(); action. consumeInitializerList(); break;
- }
-
- //
- // Rule 273: designated_initializer ::= <openscope> designation initializer
- //
- case 273: { action.beforeConsume(); action. consumeInitializerDesignated(); break;
- }
-
- //
- // Rule 277: designator ::= [ constant_expression ]
- //
- case 277: { action.beforeConsume(); action. consumeDesignatorArrayDesignator(); break;
- }
-
- //
- // Rule 278: designator ::= . identifier
- //
- case 278: { action.beforeConsume(); action. consumeDesignatorFieldDesignator(); break;
- }
-
- //
- // Rule 279: translation_unit ::= external_declaration_list
- //
- case 279: { action.beforeConsume(); action. consumeTranslationUnit(); break;
- }
-
- //
- // Rule 280: translation_unit ::= $Empty
- //
- case 280: { action.beforeConsume(); action. consumeTranslationUnit(); break;
- }
-
- //
- // Rule 285: external_declaration ::= ;
- //
- case 285: { action.beforeConsume(); action. consumeDeclarationEmpty(); break;
- }
-
- //
- // Rule 286: external_declaration ::= ERROR_TOKEN
- //
- case 286: { action.beforeConsume(); action. consumeDeclarationProblem(); break;
- }
-
- //
- // Rule 287: function_definition ::= declaration_specifiers <openscope> function_declarator compound_statement
- //
- case 287: { action.beforeConsume(); action. consumeFunctionDefinition(true); break;
- }
-
- //
- // Rule 288: function_definition ::= declaration_specifiers <openscope> knr_function_declarator <openscope> declaration_list compound_statement
- //
- case 288: { action.beforeConsume(); action. consumeFunctionDefinitionKnR(); break;
- }
-
- //
- // Rule 289: function_definition ::= function_declarator compound_statement
- //
- case 289: { action.beforeConsume(); action. consumeFunctionDefinition(false); break;
- }
-
- //
- // Rule 292: constant ::= MYTHREAD
- //
- case 292: { action.beforeConsume(); action. consumeKeywordExpression(IUPCASTKeywordExpression.kw_mythread); break;
- }
-
- //
- // Rule 293: constant ::= THREADS
- //
- case 293: { action.beforeConsume(); action. consumeKeywordExpression(IUPCASTKeywordExpression.kw_threads); break;
- }
-
- //
- // Rule 294: constant ::= UPC_MAX_BLOCKSIZE
- //
- case 294: { action.beforeConsume(); action. consumeKeywordExpression(IUPCASTKeywordExpression.kw_upc_max_block_size); break;
- }
-
- //
- // Rule 295: unary_expression ::= upc_localsizeof unary_expression
- //
- case 295: { action.beforeConsume(); action. consumeExpressionUpcSizeofOperator(IUPCASTSizeofExpression.op_upc_localsizeof); break;
- }
-
- //
- // Rule 296: unary_expression ::= upc_localsizeof ( type_name )
- //
- case 296: { action.beforeConsume(); action. consumeExpressionUpcSizeofTypeName(IUPCASTSizeofExpression.op_upc_localsizeof); break;
- }
-
- //
- // Rule 297: unary_expression ::= upc_blocksizeof unary_expression
- //
- case 297: { action.beforeConsume(); action. consumeExpressionUpcSizeofOperator(IUPCASTSizeofExpression.op_upc_blocksizeof); break;
- }
-
- //
- // Rule 298: unary_expression ::= upc_blocksizeof ( type_name )
- //
- case 298: { action.beforeConsume(); action. consumeExpressionUpcSizeofTypeName(IUPCASTSizeofExpression.op_upc_blocksizeof); break;
- }
-
- //
- // Rule 299: unary_expression ::= upc_elemsizeof unary_expression
- //
- case 299: { action.beforeConsume(); action. consumeExpressionUpcSizeofOperator(IUPCASTSizeofExpression.op_upc_elemsizeof); break;
- }
-
- //
- // Rule 300: unary_expression ::= upc_elemsizeof ( type_name )
- //
- case 300: { action.beforeConsume(); action. consumeExpressionUpcSizeofTypeName(IUPCASTSizeofExpression.op_upc_elemsizeof); break;
- }
-
- //
- // Rule 304: shared_type_qualifier ::= shared
- //
- case 304: { action.beforeConsume(); action. consumeToken(); break;
- }
-
- //
- // Rule 305: reference_type_qualifier ::= relaxed
- //
- case 305: { action.beforeConsume(); action. consumeToken(); break;
- }
-
- //
- // Rule 306: reference_type_qualifier ::= strict
- //
- case 306: { action.beforeConsume(); action. consumeToken(); break;
- }
-
- //
- // Rule 307: layout_qualifier ::= [ constant_expression ]
- //
- case 307: { action.beforeConsume(); action. consumeLayoutQualifier(true, false); break;
- }
-
- //
- // Rule 308: layout_qualifier ::= [ * ]
- //
- case 308: { action.beforeConsume(); action. consumeLayoutQualifier(false, true); break;
- }
-
- //
- // Rule 309: layout_qualifier ::= [ ]
- //
- case 309: { action.beforeConsume(); action. consumeLayoutQualifier(false, false); break;
- }
-
- //
- // Rule 311: synchronization_statement ::= upc_notify expression ;
- //
- case 311: { action.beforeConsume(); action. consumeStatementSynchronizationStatement(IUPCASTSynchronizationStatement.st_upc_notify, true); break;
- }
-
- //
- // Rule 312: synchronization_statement ::= upc_notify ;
- //
- case 312: { action.beforeConsume(); action. consumeStatementSynchronizationStatement(IUPCASTSynchronizationStatement.st_upc_notify, false); break;
- }
-
- //
- // Rule 313: synchronization_statement ::= upc_wait expression ;
- //
- case 313: { action.beforeConsume(); action. consumeStatementSynchronizationStatement(IUPCASTSynchronizationStatement.st_upc_wait, true); break;
- }
-
- //
- // Rule 314: synchronization_statement ::= upc_wait ;
- //
- case 314: { action.beforeConsume(); action. consumeStatementSynchronizationStatement(IUPCASTSynchronizationStatement.st_upc_wait, false); break;
- }
-
- //
- // Rule 315: synchronization_statement ::= upc_barrier expression ;
- //
- case 315: { action.beforeConsume(); action. consumeStatementSynchronizationStatement(IUPCASTSynchronizationStatement.st_upc_barrier, true); break;
- }
-
- //
- // Rule 316: synchronization_statement ::= upc_barrier ;
- //
- case 316: { action.beforeConsume(); action. consumeStatementSynchronizationStatement(IUPCASTSynchronizationStatement.st_upc_barrier, false); break;
- }
-
- //
- // Rule 317: synchronization_statement ::= upc_fence ;
- //
- case 317: { action.beforeConsume(); action. consumeStatementSynchronizationStatement(IUPCASTSynchronizationStatement.st_upc_fence, false); break;
- }
-
- //
- // Rule 318: iteration_statement ::= upc_forall ( expression ; expression ; expression ; affinity ) statement
- //
- case 318: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, true, true, true); break;
- }
-
- //
- // Rule 319: iteration_statement ::= upc_forall ( expression ; expression ; expression ; ) statement
- //
- case 319: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, true, true, false); break;
- }
-
- //
- // Rule 320: iteration_statement ::= upc_forall ( expression ; expression ; ; affinity ) statement
- //
- case 320: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, true, false, true); break;
- }
-
- //
- // Rule 321: iteration_statement ::= upc_forall ( expression ; expression ; ; ) statement
- //
- case 321: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, true, false, false); break;
- }
-
- //
- // Rule 322: iteration_statement ::= upc_forall ( expression ; ; expression ; affinity ) statement
- //
- case 322: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, false, true, true); break;
- }
-
- //
- // Rule 323: iteration_statement ::= upc_forall ( expression ; ; expression ; ) statement
- //
- case 323: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, false, true, false); break;
- }
-
- //
- // Rule 324: iteration_statement ::= upc_forall ( expression ; ; ; affinity ) statement
- //
- case 324: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, false, false, true); break;
- }
-
- //
- // Rule 325: iteration_statement ::= upc_forall ( expression ; ; ; ) statement
- //
- case 325: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, false, false, false); break;
- }
-
- //
- // Rule 326: iteration_statement ::= upc_forall ( ; expression ; expression ; affinity ) statement
- //
- case 326: { action.beforeConsume(); action. consumeStatementUPCForallLoop(false, true, true, true); break;
- }
-
- //
- // Rule 327: iteration_statement ::= upc_forall ( ; expression ; expression ; ) statement
- //
- case 327: { action.beforeConsume(); action. consumeStatementUPCForallLoop(false, true, true, false); break;
- }
-
- //
- // Rule 328: iteration_statement ::= upc_forall ( ; expression ; ; affinity ) statement
- //
- case 328: { action.beforeConsume(); action. consumeStatementUPCForallLoop(false, true, false, true); break;
- }
-
- //
- // Rule 329: iteration_statement ::= upc_forall ( ; expression ; ; ) statement
- //
- case 329: { action.beforeConsume(); action. consumeStatementUPCForallLoop(false, true, false, false); break;
- }
-
- //
- // Rule 330: iteration_statement ::= upc_forall ( ; ; expression ; affinity ) statement
- //
- case 330: { action.beforeConsume(); action. consumeStatementUPCForallLoop(false, false, true, true); break;
- }
-
- //
- // Rule 331: iteration_statement ::= upc_forall ( ; ; expression ; ) statement
- //
- case 331: { action.beforeConsume(); action. consumeStatementUPCForallLoop(false, false, true, false); break;
- }
-
- //
- // Rule 332: iteration_statement ::= upc_forall ( ; ; ; affinity ) statement
- //
- case 332: { action.beforeConsume(); action. consumeStatementUPCForallLoop(false, false, false, true); break;
- }
-
- //
- // Rule 333: iteration_statement ::= upc_forall ( ; ; ; ) statement
- //
- case 333: { action.beforeConsume(); action. consumeStatementUPCForallLoop(false, false, false, false); break;
- }
-
- //
- // Rule 334: iteration_statement ::= upc_forall ( declaration expression ; expression ; affinity ) statement
- //
- case 334: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, true, true, true); break;
- }
-
- //
- // Rule 335: iteration_statement ::= upc_forall ( declaration expression ; expression ; ) statement
- //
- case 335: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, true, true, false); break;
- }
-
- //
- // Rule 336: iteration_statement ::= upc_forall ( declaration expression ; ; affinity ) statement
- //
- case 336: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, true, false, true); break;
- }
-
- //
- // Rule 337: iteration_statement ::= upc_forall ( declaration expression ; ; ) statement
- //
- case 337: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, true, false, false); break;
- }
-
- //
- // Rule 338: iteration_statement ::= upc_forall ( declaration ; expression ; affinity ) statement
- //
- case 338: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, false, true, true); break;
- }
-
- //
- // Rule 339: iteration_statement ::= upc_forall ( declaration ; expression ; ) statement
- //
- case 339: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, false, true, false); break;
- }
-
- //
- // Rule 340: iteration_statement ::= upc_forall ( declaration ; ; affinity ) statement
- //
- case 340: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, false, false, true); break;
- }
-
- //
- // Rule 341: iteration_statement ::= upc_forall ( declaration ; ; ) statement
- //
- case 341: { action.beforeConsume(); action. consumeStatementUPCForallLoop(true, false, false, false); break;
- }
-
- //
- // Rule 343: affinity ::= continue
- //
- case 343: { action.beforeConsume(); action. consumeToken(); break;
- }
-
-
- default:
- break;
- }
- return;
- }
-}
-
diff --git a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/UPCParserprs.java b/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/UPCParserprs.java
deleted file mode 100644
index 51499cd69e..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/UPCParserprs.java
+++ /dev/null
@@ -1,1955 +0,0 @@
-/*******************************************************************************
-* Copyright (c) 2006, 2007 IBM Corporation 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
-* http://www.eclipse.org/legal/epl-v10.html
-*
-* Contributors:
-* IBM Corporation - initial API and implementation
-*********************************************************************************/
-
-// This file was generated by LPG
-
-package org.eclipse.cdt.internal.core.dom.parser.upc;
-
-public class UPCParserprs implements lpg.lpgjavaruntime.ParseTable, UPCParsersym {
-
- public interface IsKeyword {
- public final static byte isKeyword[] = {0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0
- };
- };
- public final static byte isKeyword[] = IsKeyword.isKeyword;
- public final boolean isKeyword(int index) { return isKeyword[index] != 0; }
-
- public interface BaseCheck {
- public final static short baseCheck[] = {0,
- 0,1,1,1,1,1,1,1,1,1,
- 1,1,1,1,1,1,1,3,1,4,
- 3,4,3,3,2,2,7,8,1,1,
- 3,1,2,2,2,2,2,2,2,2,
- 2,4,1,4,1,3,3,3,1,3,
- 3,1,3,3,1,3,3,3,3,1,
- 3,3,1,3,1,3,1,3,1,3,
- 1,3,1,5,1,3,3,3,3,3,
- 3,3,3,3,3,3,1,1,1,3,
- 1,1,1,1,1,1,1,1,3,3,
- 2,1,2,4,1,2,1,1,1,2,
- 5,7,5,7,5,9,8,8,7,8,
- 7,7,6,8,7,7,6,3,2,2,
- 2,3,1,2,4,2,2,2,2,1,
- 1,1,1,2,1,2,2,2,1,2,
- 2,1,2,2,1,2,2,1,3,1,
- 3,1,1,1,1,1,1,1,1,1,
- 1,1,1,1,1,1,1,1,1,5,
- 5,6,6,2,2,1,1,0,1,2,
- 4,2,1,1,3,1,2,3,1,5,
- 6,6,7,2,1,0,1,3,1,3,
- 1,1,1,1,1,3,1,3,1,1,
- 2,5,3,1,3,5,1,3,2,4,
- 3,5,4,6,6,3,5,1,2,3,
- 4,1,2,1,3,1,1,3,2,1,
- 2,1,3,1,2,2,1,3,3,1,
- 2,2,3,4,5,1,4,5,1,1,
- 3,3,3,2,1,2,3,2,1,0,
- 1,2,1,1,1,1,4,6,2,1,
- 2,1,1,1,2,4,2,4,2,4,
- 1,1,2,1,1,1,3,3,2,1,
- 3,2,3,2,3,2,2,11,10,10,
- 9,10,9,9,8,10,9,9,8,9,
- 8,8,7,10,9,9,8,9,8,8,
- 7,1,1,-68,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,-2,0,-4,0,0,0,
- 0,0,0,0,0,0,0,0,-125,0,
- 0,0,0,0,0,0,0,0,0,0,
- -236,-22,-73,-6,-29,-137,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,-24,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,-16,
- -31,0,0,0,-7,-145,0,-149,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,-11,
- 0,0,0,0,0,0,0,0,0,0,
- 0,-223,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,-33,0,-36,0,0,0,0,0,
- 0,0,0,0,0,-282,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,-43,-57,0,0,
- 0,0,0,0,0,0,0,0,0,-284,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,-58,-59,0,0,0,0,0,0,0,
- 0,0,0,-285,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,-60,-61,-62,0,0,0,
- 0,0,0,0,0,0,0,-301,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,-63,-64,
- -65,0,0,0,0,0,0,0,0,0,
- 0,-304,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,-66,-67,-72,0,0,0,0,0,
- 0,0,0,0,0,-317,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,-89,-107,-146,0,
- 0,0,0,0,0,0,0,0,0,-322,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- -147,-148,-150,0,0,0,0,0,0,0,
- 0,0,0,-330,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,-151,-152,-154,0,0,0,
- 0,0,0,0,0,0,0,-331,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,-155,-157,
- -172,0,0,0,0,0,0,0,0,0,
- 0,-333,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,-173,-194,-195,0,0,0,0,0,
- 0,0,0,0,0,-334,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,-196,-197,-198,0,
- 0,0,0,0,0,0,0,0,0,-336,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- -199,-200,-201,0,0,0,0,0,0,0,
- 0,0,0,-340,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,-202,-203,-204,0,0,0,
- 0,0,0,0,0,0,0,-342,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,-205,-206,
- -207,0,0,0,0,0,0,0,0,0,
- 0,-343,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,-208,-209,-210,0,0,0,0,0,
- 0,0,0,0,0,-345,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,-219,-222,-245,0,
- 0,0,0,0,0,0,0,0,0,-348,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- -246,-247,-248,0,0,0,0,0,0,0,
- 0,0,0,-349,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,-249,-259,-266,0,0,0,
- 0,0,0,0,0,0,0,-351,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,-288,-310,
- -313,0,0,0,0,0,0,0,0,0,
- 0,-354,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,-359,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,-360,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,-361,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,-362,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,-364,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,-365,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,-366,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,-368,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,-369,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,-370,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,-372,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,-373,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,-375,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,-378,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,-379,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,-380,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,-381,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,-382,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,-383,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,-385,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,-44,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,-175,0,0,-127,
- 0,0,0,0,0,0,0,0,0,0,
- -128,0,0,0,0,0,0,0,0,0,
- 0,-45,0,0,0,0,0,0,-109,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,-13,
- 0,0,-129,0,0,0,0,0,0,0,
- 0,0,0,-130,0,0,0,0,0,0,
- 0,0,0,0,-46,0,0,0,0,0,
- 0,-110,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- -14,0,0,0,0,-121,0,0,0,0,
- 0,0,0,0,0,0,-122,0,0,0,
- 0,0,0,0,0,-10,0,-165,-12,-19,
- 0,0,-21,0,-111,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,-114,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,-41,0,-169,-20,0,0,-112,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,-123,0,0,0,0,0,0,0,0,
- 0,0,0,-53,0,0,0,0,0,0,
- -23,0,0,-47,0,0,0,0,0,0,
- -113,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,-70,
- 0,0,0,0,-124,0,0,0,0,0,
- 0,0,0,0,0,0,-76,0,0,0,
- 0,0,0,0,-38,0,-48,0,0,0,
- 0,0,0,-216,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,-49,0,0,
- 0,0,0,0,0,0,0,0,-126,0,
- 0,0,0,0,0,0,0,0,0,0,
- -217,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,-163,0,0,-50,0,0,0,0,0,
- 0,0,-115,0,0,-51,0,0,0,0,
- 0,0,0,0,0,0,0,-93,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,-136,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,-262,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,-30,0,0,-271,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,-15,
- -74,0,-182,0,0,0,0,0,0,-32,
- 0,-132,0,0,0,0,0,0,0,0,
- 0,0,0,0,-55,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,-75,-171,
- 0,0,0,0,0,0,0,0,0,0,
- -185,-34,0,0,-293,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,-296,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,-311,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,-71,0,-85,0,-133,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,-134,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,-52,0,
- 0,0,0,0,0,-176,-227,0,-26,-35,
- 0,-316,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,-268,0,-131,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,-54,0,0,0,0,0,0,-92,0,
- 0,0,0,0,0,0,-118,0,0,0,
- 0,0,0,0,0,0,-69,0,0,-319,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,-320,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,-324,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,-325,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,-327,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,-347,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,-353,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,-356,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,-357,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,-377,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,-86,0,-94,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,-139,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,-140,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,-141,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,-315,0,
- 0,-142,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,-179,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,-119,0,0,0,0,0,
- 0,-120,0,0,0,0,0,0,0,0,
- 0,0,0,-252,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,-253,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,-255,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,-256,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,-272,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,-274,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,-276,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,-77,0,
- 0,-277,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,-105,0,-279,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,-281,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,-295,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,-298,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,-299,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,-79,0,0,-303,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,-106,0,-306,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,-187,0,-307,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,-329,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,-81,0,
- 0,-338,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,-237,0,-25,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,-91,0,-183,0,
- 0,0,0,0,0,-56,0,0,0,0,
- 0,0,-188,0,-116,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,-117,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,-189,0,
- -135,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,-190,0,-218,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,-191,0,-220,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,-226,
- -287,0,-221,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,-192,0,-283,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- -28,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,-40,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,-243,
- 0,0,0,0,-161,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,-312,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,-251,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,-95,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,-96,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,-97,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,-98,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,-99,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,-100,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,-101,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,-102,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- -103,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,-104,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,-156,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,-180,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,-235,0,0,0,0,
- 0,0,-184,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,-234,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,-250,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,-82,0,
- -170,0,0,0,0,0,0,0,0,0,
- 0,0,0,-181,0,-265,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,-290,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,-8,0,0,0,-138,-158,0,
- -238,0,0,0,0,0,0,0,0,0,
- -17,0,0,-3,0,0,0,0,-88,0,
- 0,0,0,0,0,0,0,-314,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,-143,-144,0,0,0,-258,-166,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,-37,-162,0,0,0,0,
- 0,0,0,0,-1,-228,0,0,0,-153,
- 0,0,0,0,0,0,0,0,0,0,
- -18,0,-211,0,-193,-242,0,0,0,0,
- 0,0,-9,-212,-213,0,0,0,0,0,
- -229,0,-214,-231,0,0,0,0,-215,-42,
- 0,0,0,0,0,0,0,0,-254,0,
- 0,0,0,0,0,-27,0,0,0,0,
- 0,-232,0,0,0,-160,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,-87,0,0,0,0,-233,0,-260,0,
- 0,-240,-177,0,0,0,0,0,-241,-257,
- 0,-264,0,0,0,0,0,0,-83,0,
- 0,0,0,0,0,0,0,0,0,-84,
- 0,0,0,0,0,0,0,0,0,0,
- -224,0,0,0,0,0,0,0,-230,0,
- -261,0,0,0,0,0,-186,0,0,0,
- 0,0,0,-78,0,0,0,-90,0,0,
- 0,0,-80,-273,-267,0,-164,0,0,-263,
- 0,0,0,0,-270,0,-291,0,0,0,
- 0,0,0,-239,0,0,-168,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,-289,0,0,0,0,0,
- 0,0,0,-244,-5,0,0,0,-39,0,
- 0,0,0,0,0,0,0,0,0,0,
- -174,0,0,0,0,0,0,-108,0,-275,
- 0,0,0,0,0,0,0,0,0,0,
- -278,0,0,0,0,0,0,-269,0,0,
- -159,0,-167,-286,0,0,0,0,0,0,
- -178,0,0,0,-292,-225,0,0,0,0,
- 0,-280,0,0,0,0,-294,0,0,-297,
- -302,0,0,0,0,-300,0,0,-308,0,
- 0,-305,0,0,0,0,0,0,0,0,
- -309,0,0,0,0,0,0,0,-318,0,
- -323,0,0,-321,-326,0,-328,-332,-335,-337,
- -341,0,-339,-344,-346,-350,-352,-355,0,0,
- -358,0,0,0,-363,0,-367,0,0,0,
- 0,0,-371,-374,0,0,0,0,0,0,
- 0,-376,-384,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0
- };
- };
- public final static short baseCheck[] = BaseCheck.baseCheck;
- public final int baseCheck(int index) { return baseCheck[index]; }
- public final static short rhs[] = baseCheck;
- public final int rhs(int index) { return rhs[index]; };
-
- public interface BaseAction {
- public final static char baseAction[] = {
- 90,22,1,1,38,38,21,21,39,39,
- 19,19,2,2,2,2,3,3,3,4,
- 4,4,4,4,4,4,4,4,4,73,
- 91,91,5,5,5,5,5,5,5,5,
- 5,5,5,6,6,7,7,7,7,8,
- 8,8,9,9,9,10,10,10,10,10,
- 11,11,11,12,12,13,13,14,14,15,
- 15,16,16,17,17,18,18,18,18,18,
- 18,18,18,18,18,18,18,25,23,20,
- 20,53,26,26,26,26,26,26,26,27,
- 27,27,32,24,24,92,92,75,75,28,
- 28,29,29,29,30,30,30,30,30,30,
- 30,30,30,30,30,30,30,30,31,31,
- 31,31,31,93,46,46,34,34,34,34,
- 48,48,48,81,81,77,77,77,77,78,
- 78,78,79,79,79,80,80,80,76,76,
- 61,61,49,49,49,49,49,60,60,60,
- 60,60,60,60,60,60,60,60,60,70,
- 68,68,68,68,68,68,82,62,62,63,
- 63,57,57,45,94,94,83,83,83,64,
- 69,69,69,69,69,84,84,85,85,71,
- 71,35,35,35,50,47,47,40,40,40,
- 40,41,42,42,72,72,86,96,96,43,
- 43,43,43,43,43,43,43,43,51,51,
- 51,51,65,65,58,58,58,59,59,55,
- 55,55,95,95,52,52,66,66,66,56,
- 56,56,56,56,56,56,54,54,54,74,
- 74,74,74,67,97,98,98,87,87,90,
- 90,99,99,88,88,88,88,89,89,89,
- 100,100,2,2,2,5,5,5,5,5,
- 5,35,35,36,36,37,37,101,101,101,
- 26,33,33,33,33,33,33,33,30,30,
- 30,30,30,30,30,30,30,30,30,30,
- 30,30,30,30,30,30,30,30,30,30,
- 30,30,44,44,161,17,16,19,538,537,
- 45,572,605,573,607,606,640,639,673,641,
- 674,75,89,109,776,303,4159,34,93,4230,
- 107,92,94,95,96,97,810,310,4139,1123,
- 17,16,19,538,43,45,572,605,573,879,
- 108,657,333,333,406,354,1,17,16,19,
- 538,537,45,572,605,573,607,606,640,639,
- 673,641,674,75,89,109,776,715,4159,105,
- 93,4230,107,92,94,95,96,97,810,310,
- 4139,2495,219,220,260,104,396,221,223,4449,
- 1171,417,108,2185,4216,194,753,2563,241,17,
- 16,19,538,537,45,572,605,573,607,606,
- 640,639,673,641,674,75,89,109,776,289,
- 235,106,93,4230,1047,92,94,95,96,97,
- 810,310,241,17,16,19,538,537,45,572,
- 605,573,607,606,640,639,673,641,674,75,
- 89,109,776,496,503,559,93,4230,99,92,
- 94,95,96,97,810,310,241,17,16,19,
- 538,537,45,572,605,573,607,606,640,639,
- 673,641,674,75,89,109,776,1127,1184,4269,
- 93,4230,115,92,94,95,96,97,810,310,
- 241,17,16,19,538,537,45,572,605,573,
- 607,606,640,639,673,641,674,75,89,109,
- 776,303,574,721,93,4230,113,92,94,95,
- 96,97,810,310,241,17,16,19,538,537,
- 45,572,605,573,607,606,640,639,673,641,
- 674,75,89,109,776,560,134,297,93,4230,
- 1150,92,94,95,96,97,810,310,241,17,
- 16,19,538,537,45,572,605,573,607,606,
- 640,639,673,641,674,75,89,109,776,54,
- 296,662,93,4230,127,92,94,95,96,97,
- 810,310,241,17,16,19,538,537,45,572,
- 605,573,607,606,640,639,673,641,674,75,
- 89,109,776,224,661,502,93,4230,123,92,
- 94,95,96,97,810,310,241,17,16,19,
- 538,537,45,572,605,573,607,606,640,639,
- 673,641,674,75,89,109,776,854,1304,74,
- 93,4230,341,92,94,95,96,97,810,310,
- 241,17,16,19,538,537,45,572,605,573,
- 607,606,640,639,673,641,674,75,89,109,
- 776,154,766,770,93,4230,333,92,94,95,
- 96,97,810,310,241,17,16,19,538,537,
- 45,572,605,573,607,606,640,639,673,641,
- 674,75,89,109,776,977,1306,490,93,4230,
- 126,92,94,95,96,97,810,310,241,17,
- 16,19,538,537,45,572,605,573,607,606,
- 640,639,673,641,674,75,89,109,776,539,
- 1274,550,93,4230,125,92,94,95,96,97,
- 810,310,241,17,16,19,538,537,45,572,
- 605,573,607,606,640,639,673,641,674,75,
- 89,109,776,1312,1270,1294,93,4230,122,92,
- 94,95,96,97,810,310,241,17,16,19,
- 538,537,45,572,605,573,607,606,640,639,
- 673,641,674,75,89,109,776,769,857,398,
- 93,4230,121,92,94,95,96,97,810,310,
- 241,17,16,19,538,537,45,572,605,573,
- 607,606,640,639,673,641,674,75,89,109,
- 776,415,1254,1257,93,4230,119,92,94,95,
- 96,97,810,310,241,17,16,19,538,537,
- 45,572,605,573,607,606,640,639,673,641,
- 674,75,89,109,776,1260,1268,1214,93,4230,
- 112,92,94,95,96,97,810,310,241,17,
- 16,19,538,537,45,572,605,573,607,606,
- 640,639,673,641,674,75,89,109,776,853,
- 314,1198,93,4230,340,92,94,95,96,97,
- 810,310,241,17,16,19,538,537,45,572,
- 605,573,607,606,640,639,673,641,674,75,
- 89,109,776,1308,1313,81,93,4230,339,92,
- 94,95,96,97,810,310,241,17,16,19,
- 538,537,45,572,605,573,607,606,640,639,
- 673,641,674,75,89,109,776,947,1317,1079,
- 93,4230,337,92,94,95,96,97,810,310,
- 241,17,16,19,538,537,45,572,605,573,
- 607,606,640,639,673,641,674,75,89,109,
- 776,1323,1324,1325,93,4230,332,92,94,95,
- 96,97,810,310,241,17,16,19,538,537,
- 45,572,605,573,607,606,640,639,673,641,
- 674,75,89,109,776,1326,1327,1332,93,4230,
- 331,92,94,95,96,97,810,310,241,17,
- 16,19,538,537,45,572,605,573,607,606,
- 640,639,673,641,674,75,89,109,776,1333,
- 1334,1336,93,4230,329,92,94,95,96,97,
- 810,310,241,17,16,19,538,537,45,572,
- 605,573,607,606,640,639,673,641,674,75,
- 89,109,776,4644,4644,4644,93,4230,325,92,
- 94,95,96,97,810,310,241,17,16,19,
- 538,537,45,572,605,573,607,606,640,639,
- 673,641,674,75,89,109,776,4644,4644,4644,
- 93,4230,124,92,94,95,96,97,810,310,
- 241,17,16,19,538,537,45,572,605,573,
- 607,606,640,639,673,641,674,75,89,109,
- 776,4644,4644,4644,93,4230,120,92,94,95,
- 96,97,810,310,241,17,16,19,538,537,
- 45,572,605,573,607,606,640,639,673,641,
- 674,75,89,109,776,4644,4644,4644,93,4230,
- 118,92,94,95,96,97,810,310,241,17,
- 16,19,538,537,45,572,605,573,607,606,
- 640,639,673,641,674,75,89,109,776,4644,
- 4644,4644,93,4230,117,92,94,95,96,97,
- 810,310,241,17,16,19,538,537,45,572,
- 605,573,607,606,640,639,673,641,674,75,
- 89,109,776,4644,4644,4644,93,4230,338,92,
- 94,95,96,97,810,310,241,17,16,19,
- 538,537,45,572,605,573,607,606,640,639,
- 673,641,674,75,89,109,776,4644,4644,4644,
- 93,4230,336,92,94,95,96,97,810,310,
- 241,17,16,19,538,537,45,572,605,573,
- 607,606,640,639,673,641,674,75,89,109,
- 776,4644,4644,4644,93,4230,335,92,94,95,
- 96,97,810,310,241,17,16,19,538,537,
- 45,572,605,573,607,606,640,639,673,641,
- 674,75,89,109,776,4644,4644,4644,93,4230,
- 330,92,94,95,96,97,810,310,241,17,
- 16,19,538,537,45,572,605,573,607,606,
- 640,639,673,641,674,75,89,109,776,4644,
- 4644,4644,93,4230,328,92,94,95,96,97,
- 810,310,241,17,16,19,538,537,45,572,
- 605,573,607,606,640,639,673,641,674,75,
- 89,109,776,4644,4644,4644,93,4230,327,92,
- 94,95,96,97,810,310,241,17,16,19,
- 538,537,45,572,605,573,607,606,640,639,
- 673,641,674,75,89,109,776,4644,4644,4644,
- 93,4230,324,92,94,95,96,97,810,310,
- 241,17,16,19,538,537,45,572,605,573,
- 607,606,640,639,673,641,674,75,89,109,
- 776,4644,4644,4644,93,4230,323,92,94,95,
- 96,97,810,310,241,17,16,19,538,537,
- 45,572,605,573,607,606,640,639,673,641,
- 674,75,89,109,776,4644,4644,4644,93,4230,
- 321,92,94,95,96,97,810,310,241,17,
- 16,19,538,537,45,572,605,573,607,606,
- 640,639,673,641,674,75,89,109,776,4644,
- 4644,4644,93,4230,116,92,94,95,96,97,
- 810,310,241,17,16,19,538,537,45,572,
- 605,573,607,606,640,639,673,641,674,75,
- 89,109,776,4644,4644,4644,93,4230,334,92,
- 94,95,96,97,810,310,241,17,16,19,
- 538,537,45,572,605,573,607,606,640,639,
- 673,641,674,75,89,109,776,4644,4644,4644,
- 93,4230,326,92,94,95,96,97,810,310,
- 241,17,16,19,538,537,45,572,605,573,
- 607,606,640,639,673,641,674,75,89,109,
- 776,4644,4644,4644,93,4230,322,92,94,95,
- 96,97,810,310,241,17,16,19,538,537,
- 45,572,605,573,607,606,640,639,673,641,
- 674,75,89,109,776,4644,4644,4644,93,4230,
- 320,92,94,95,96,97,810,310,241,17,
- 16,19,538,537,45,572,605,573,607,606,
- 640,639,673,641,674,75,89,109,776,4644,
- 4644,4644,93,4230,319,92,94,95,96,97,
- 810,310,241,17,16,19,538,537,45,572,
- 605,573,607,606,640,639,673,641,674,75,
- 89,109,776,4644,4644,4644,93,4230,318,92,
- 94,95,96,97,810,310,1003,17,16,19,
- 538,537,45,572,605,573,607,606,640,639,
- 673,641,674,75,89,4644,708,333,4159,3348,
- 1123,17,16,19,538,43,45,572,605,912,
- 193,1123,17,16,19,538,43,45,572,605,
- 913,4468,1027,17,16,19,538,299,3204,1003,
- 17,16,19,538,537,45,572,605,573,607,
- 606,640,639,673,641,674,75,89,391,708,
- 485,4159,3348,1123,17,16,19,538,43,45,
- 572,605,945,193,1123,17,16,19,538,43,
- 45,572,605,946,4468,1051,17,16,19,538,
- 297,3372,1003,17,16,19,538,537,45,572,
- 605,573,607,606,640,639,673,641,674,75,
- 89,495,708,4644,4159,3348,1123,17,16,19,
- 538,43,45,572,844,4644,193,1123,17,16,
- 19,538,43,45,572,845,749,4468,1267,302,
- 342,4644,395,392,3483,1003,17,16,19,538,
- 537,45,572,605,573,607,606,640,639,673,
- 641,674,75,89,218,708,4644,4159,3348,760,
- 29,141,301,302,141,301,302,181,4644,193,
- 394,219,505,4644,148,140,142,151,140,142,
- 4468,4644,138,441,1267,374,147,3529,1003,17,
- 16,19,538,537,45,572,605,573,607,606,
- 640,639,673,641,674,75,89,4215,708,4644,
- 4159,3348,1123,17,16,19,538,43,45,877,
- 231,4644,193,180,826,17,16,19,538,43,
- 36,945,24,4468,1075,17,16,19,538,295,
- 3553,1003,17,16,19,538,537,45,572,605,
- 573,607,606,640,639,673,641,674,75,89,
- 194,708,236,4159,3348,1123,17,16,19,538,
- 43,45,878,4644,221,193,4644,826,17,16,
- 19,538,43,36,287,342,4468,1099,17,16,
- 19,538,41,3577,949,17,16,19,538,537,
- 45,572,605,573,607,606,640,639,673,641,
- 674,75,89,3038,708,308,4159,4279,1123,17,
- 16,19,538,43,40,2495,219,220,4139,1123,
- 17,16,19,538,43,45,572,605,573,911,
- 3014,949,17,16,19,538,537,45,572,605,
- 573,607,606,640,639,673,641,674,75,89,
- 3086,708,715,4159,4330,1123,17,16,19,538,
- 43,39,4644,760,29,4139,1123,17,16,19,
- 538,43,38,223,4226,4644,4644,3062,447,17,
- 16,19,538,537,45,572,605,573,607,606,
- 640,639,673,641,674,75,4094,1123,17,16,
- 19,538,43,45,572,605,573,607,606,640,
- 639,673,1014,243,301,302,230,861,17,16,
- 19,538,537,45,572,605,573,607,606,640,
- 639,673,641,674,75,266,23,32,4644,3601,
- 861,17,16,19,538,537,45,572,605,573,
- 607,606,640,639,673,641,674,75,266,4384,
- 526,1174,3601,826,17,16,19,538,43,36,
- 32,269,1123,17,16,19,538,43,45,572,
- 605,573,607,979,270,1147,17,16,19,538,
- 34,4494,4393,4644,269,141,301,302,4644,138,
- 1246,237,4644,4644,221,4644,4644,270,154,140,
- 142,333,32,4644,4505,664,17,16,19,538,
- 537,45,572,605,573,607,606,640,639,673,
- 641,674,75,89,4079,708,686,307,342,200,
- 664,17,16,19,538,537,45,572,605,573,
- 607,606,640,639,673,641,674,75,89,4549,
- 708,720,3700,342,724,17,16,19,538,537,
- 45,572,605,573,607,606,640,639,673,641,
- 674,75,266,718,4551,1203,3601,1123,17,16,
- 19,538,43,45,572,605,573,607,606,640,
- 639,980,135,268,1123,17,16,19,538,43,
- 45,572,605,573,607,606,640,981,271,1123,
- 17,16,19,538,43,37,1283,1289,221,1196,
- 478,272,724,17,16,19,538,537,45,572,
- 605,573,607,606,640,639,673,641,674,75,
- 266,344,4339,1310,3601,1123,17,16,19,538,
- 43,45,572,605,573,607,606,947,103,261,
- 221,28,1123,17,16,19,538,43,35,1123,
- 17,16,19,538,43,36,271,1123,17,16,
- 19,538,43,48,4644,4644,261,32,4644,272,
- 664,17,16,19,538,537,45,572,605,573,
- 607,606,640,639,673,641,674,75,89,4491,
- 708,992,4644,342,4644,664,17,16,19,538,
- 537,45,572,605,573,607,606,640,639,673,
- 641,674,75,89,4564,708,1026,4644,342,4644,
- 664,17,16,19,538,537,45,572,605,573,
- 607,606,640,639,673,641,674,75,89,4565,
- 708,1094,4644,342,4644,664,17,16,19,538,
- 537,45,572,605,573,607,606,640,639,673,
- 641,674,75,89,4566,708,1128,4644,342,4644,
- 664,17,16,19,538,537,45,572,605,573,
- 607,606,640,639,673,641,674,75,89,4567,
- 708,1162,4644,342,4644,664,17,16,19,538,
- 537,45,572,605,573,607,606,640,639,673,
- 641,674,75,89,4568,708,1400,4644,342,4644,
- 664,17,16,19,538,537,45,572,605,573,
- 607,606,640,639,673,641,674,75,89,4577,
- 708,1502,4644,342,4644,664,17,16,19,538,
- 537,45,572,605,573,607,606,640,639,673,
- 641,674,75,89,4583,708,1570,4644,342,4644,
- 664,17,16,19,538,537,45,572,605,573,
- 607,606,640,639,673,641,674,75,89,4584,
- 708,1604,4644,342,4644,664,17,16,19,538,
- 537,45,572,605,573,607,606,640,639,673,
- 641,674,75,89,4592,708,1808,392,342,1123,
- 17,16,19,538,537,45,572,605,573,607,
- 606,640,639,673,641,674,75,86,222,4593,
- 914,17,16,19,538,537,45,572,605,573,
- 607,606,640,639,673,641,674,75,89,316,
- 708,4644,4644,4243,914,17,16,19,538,537,
- 45,572,605,573,607,606,640,639,673,641,
- 674,75,89,314,708,4644,4644,4254,914,17,
- 16,19,538,537,45,572,605,573,607,606,
- 640,639,673,641,674,75,89,312,708,1192,
- 4644,4255,914,17,16,19,538,537,45,572,
- 605,573,607,606,640,639,673,641,674,75,
- 89,131,708,4644,4644,4263,600,17,16,19,
- 538,537,45,572,605,573,607,606,640,639,
- 673,641,674,75,4322,1123,17,16,19,538,
- 43,47,1123,17,16,19,538,43,46,4644,
- 4644,243,301,302,914,17,16,19,538,537,
- 45,572,605,573,607,606,640,639,673,641,
- 674,75,89,3110,708,4644,276,4394,914,17,
- 16,19,538,537,45,572,605,573,607,606,
- 640,639,673,641,674,75,89,3134,708,4644,
- 4644,4470,914,17,16,19,538,537,45,572,
- 605,573,607,606,640,639,673,641,674,75,
- 89,3182,708,4644,4644,4481,914,17,16,19,
- 538,537,45,572,605,573,607,606,640,639,
- 673,641,674,75,89,3206,708,4644,4644,4512,
- 914,17,16,19,538,537,45,572,605,573,
- 607,606,640,639,673,641,674,75,89,2425,
- 708,4644,4644,4517,914,17,16,19,538,537,
- 45,572,605,573,607,606,640,639,673,641,
- 674,75,89,2450,708,4644,4644,4520,914,17,
- 16,19,538,537,45,572,605,573,607,606,
- 640,639,673,641,674,75,89,3302,708,32,
- 4644,4526,890,17,16,19,538,537,45,572,
- 605,573,607,606,640,639,673,641,674,75,
- 89,4397,708,618,392,4521,890,17,16,19,
- 538,537,45,572,605,573,607,606,640,639,
- 673,641,674,75,89,3469,708,652,4644,4532,
- 914,17,16,19,538,537,45,572,605,573,
- 607,606,640,639,673,641,674,75,89,3374,
- 708,4644,4644,4529,914,17,16,19,538,537,
- 45,572,605,573,607,606,640,639,673,641,
- 674,75,89,2635,708,4644,4644,4554,914,17,
- 16,19,538,537,45,572,605,573,607,606,
- 640,639,673,641,674,75,89,2685,708,4644,
- 4644,4555,914,17,16,19,538,537,45,572,
- 605,573,607,606,640,639,673,641,674,75,
- 89,2710,708,32,4644,4557,890,17,16,19,
- 538,537,45,572,605,573,607,606,640,639,
- 673,641,674,75,89,4417,708,788,392,4558,
- 890,17,16,19,538,537,45,572,605,573,
- 607,606,640,639,673,641,674,75,89,18,
- 708,856,392,4559,890,17,16,19,538,537,
- 45,572,605,573,607,606,640,639,673,641,
- 674,75,89,1049,708,890,4644,4560,914,17,
- 16,19,538,537,45,572,605,573,607,606,
- 640,639,673,641,674,75,89,2810,708,32,
- 4644,4571,890,17,16,19,538,537,45,572,
- 605,573,607,606,640,639,673,641,674,75,
- 89,4081,708,1298,715,4575,631,17,16,19,
- 538,537,45,572,605,573,607,606,640,639,
- 673,641,674,75,2082,263,4488,138,4270,690,
- 17,16,19,538,43,44,1147,17,16,19,
- 538,33,4644,392,229,890,17,16,19,538,
- 537,45,572,605,573,607,606,640,639,673,
- 641,674,75,30,1081,233,21,1123,17,16,
- 19,538,537,45,572,605,573,607,606,640,
- 639,673,641,674,75,89,4644,708,4644,392,
- 4245,1123,17,16,19,538,537,45,572,605,
- 573,607,606,640,639,673,641,674,75,89,
- 1082,708,4644,392,1013,1123,17,16,19,538,
- 537,45,572,605,573,607,606,640,639,673,
- 641,674,75,89,1083,708,3625,392,4197,1123,
- 17,16,19,538,537,45,572,605,573,607,
- 606,640,639,673,641,674,75,89,1115,708,
- 32,112,4319,1123,17,16,19,538,537,45,
- 572,605,573,607,606,640,639,673,641,674,
- 75,89,2327,708,4644,1202,4371,1123,17,16,
- 19,538,537,45,572,605,573,607,606,640,
- 639,673,641,674,75,89,22,708,4644,4644,
- 4541,802,17,16,19,538,43,45,572,605,
- 573,607,606,640,639,673,641,674,91,979,
- 17,16,19,538,537,45,572,605,573,607,
- 606,640,639,673,641,674,75,3467,275,309,
- 4644,4388,4644,4644,4644,4644,4644,4644,3724,2949,
- 855,4644,4644,4644,2409,271,17,16,19,538,
- 537,45,572,605,573,607,606,640,639,673,
- 641,674,75,266,271,17,16,19,538,537,
- 45,572,605,573,607,606,640,639,673,641,
- 674,75,266,260,4644,4644,4644,4644,4644,4644,
- 4644,4644,4644,4644,4644,4644,2563,4644,4644,161,
- 1123,17,16,19,538,43,45,572,605,573,
- 607,606,640,639,673,641,674,74,273,1123,
- 17,16,19,538,537,45,572,605,573,607,
- 606,640,639,673,641,674,75,85,1123,17,
- 16,19,538,537,45,572,605,573,607,606,
- 640,639,673,641,674,75,84,1123,17,16,
- 19,538,537,45,572,605,573,607,606,640,
- 639,673,641,674,75,83,1123,17,16,19,
- 538,537,45,572,605,573,607,606,640,639,
- 673,641,674,75,82,1123,17,16,19,538,
- 537,45,572,605,573,607,606,640,639,673,
- 641,674,75,81,1123,17,16,19,538,537,
- 45,572,605,573,607,606,640,639,673,641,
- 674,75,80,1123,17,16,19,538,537,45,
- 572,605,573,607,606,640,639,673,641,674,
- 75,79,1123,17,16,19,538,537,45,572,
- 605,573,607,606,640,639,673,641,674,75,
- 78,1123,17,16,19,538,537,45,572,605,
- 573,607,606,640,639,673,641,674,75,77,
- 1123,17,16,19,538,537,45,572,605,573,
- 607,606,640,639,673,641,674,75,76,1123,
- 17,16,19,538,43,45,572,605,573,607,
- 606,640,639,673,641,674,91,1123,17,16,
- 19,538,537,45,572,605,573,607,606,640,
- 639,673,641,674,75,4329,4644,4644,4644,4644,
- 4644,4644,4644,4644,4644,4644,1197,4644,4644,4644,
- 4644,4644,1048,1123,17,16,19,538,537,45,
- 572,605,573,607,606,640,639,673,641,674,
- 75,90,1123,17,16,19,538,43,45,572,
- 605,573,607,606,640,639,673,641,674,91,
- 1123,17,16,19,538,537,45,572,605,573,
- 607,606,640,639,673,641,674,75,31,544,
- 811,544,4644,4644,4644,4644,4644,208,4644,4644,
- 4644,4644,4644,4644,138,210,1123,17,16,19,
- 538,43,45,572,605,573,607,606,640,639,
- 673,641,674,91,1123,17,16,19,538,43,
- 45,572,605,573,607,606,640,639,673,641,
- 674,91,232,4644,716,4644,4644,4644,1261,716,
- 4644,392,4644,811,4644,811,4644,4644,4644,197,
- 207,1151,207,134,486,179,4286,317,134,543,
- 179,4361,259,2410,843,4292,843,198,1123,17,
- 16,19,538,43,45,572,605,573,607,606,
- 640,639,673,641,674,91,141,301,302,141,
- 301,302,1261,1261,141,301,302,392,716,157,
- 140,142,143,140,142,2030,4644,143,140,142,
- 4644,130,129,4644,145,1182,342,192,516,145,
- 4369,4561,149,152,155,321,1303,149,152,155,
- 1261,2026,2029,2370,4151,4241,2026,2029,2370,4151,
- 4241,543,179,1261,285,138,32,4154,4159,110,
- 242,301,302,384,1261,1261,2537,219,505,4134,
- 4312,1267,315,1261,1267,394,219,367,2350,1261,
- 1182,284,285,313,311,4154,141,301,302,1261,
- 4350,247,132,20,2857,707,62,4134,128,144,
- 140,142,1247,394,219,367,62,445,3158,284,
- 183,146,228,182,4644,242,301,302,393,150,
- 153,156,267,281,283,365,4644,1267,392,392,
- 4644,4400,138,393,4253,445,2371,219,367,138,
- 1261,201,940,675,1897,2288,2131,219,220,1182,
- 550,282,283,675,262,4414,4644,158,4644,3230,
- 1191,191,2131,219,220,260,202,159,2160,675,
- 234,62,2493,2131,219,220,260,235,2536,492,
- 2033,392,227,249,242,301,302,1244,251,2536,
- 4644,4644,2607,392,1259,243,301,302,1182,4141,
- 4644,392,584,1259,1261,1267,4644,1259,262,4444,
- 1249,2131,219,220,4461,392,4159,392,675,2131,
- 219,220,4644,3254,1293,4159,1117,1259,193,4159,
- 260,226,158,242,301,302,264,193,265,4198,
- 4644,193,4644,2536,203,492,4159,2493,4198,4159,
- 4644,189,4198,4141,1293,62,2028,4493,4312,444,
- 189,193,194,2976,189,2084,4493,392,4644,4261,
- 4493,1213,4198,4332,4644,391,4159,392,758,247,
- 1261,4159,4405,707,189,2131,219,220,4312,4264,
- 4493,1261,1117,4312,4644,2131,219,220,444,3278,
- 2421,32,2033,1269,1252,3700,243,301,302,247,
- 3326,1281,4405,707,247,1258,1031,2857,707,4644,
- 4159,260,1261,4159,4644,4159,4644,1261,195,4644,
- 1261,392,4312,4159,2536,4139,1261,193,4159,1261,
- 288,3350,392,267,255,4312,2610,290,4198,2660,
- 4139,392,754,247,27,3398,4407,707,3422,392,
- 190,392,291,822,1261,1261,248,1261,392,392,
- 392,138,4563,1261,392,392,392,392,392,4644,
- 958,1261,1060,2735,2760,392,2785,392,4644,1196,
- 1230,1264,114,392,392,1332,1366,1434,1468,1536,
- 2835,4506,392,392,4644,4644,1638,4644,1672,277,
- 4644,4644,4644,4644,1706,1740,4644,4644,4644,4644,
- 4644,4644,4644,1774,1842,4644,0,1,4861,0,
- 304,3651,0,4653,1,0,1,4647,0,1,
- 4646,0,1,777,0,9,11,0,1,4896,
- 0,111,924,0
- };
- };
- public final static char baseAction[] = BaseAction.baseAction;
- public final int baseAction(int index) { return baseAction[index]; }
- public final static char lhs[] = baseAction;
- public final int lhs(int index) { return lhs[index]; };
-
- public interface TermCheck {
- public final static byte termCheck[] = {0,
- 0,1,2,3,4,5,6,7,8,9,
- 10,11,12,13,14,15,16,17,18,19,
- 20,21,22,23,24,25,26,27,28,29,
- 30,0,32,0,34,35,36,37,38,39,
- 40,41,42,43,44,45,46,47,48,49,
- 50,51,52,0,54,55,56,24,58,59,
- 60,0,1,2,64,65,66,67,68,69,
- 70,71,72,0,1,75,76,77,78,79,
- 0,1,2,3,4,5,6,7,8,9,
- 10,11,12,13,14,15,16,17,18,19,
- 20,21,22,23,24,25,26,27,28,29,
- 30,0,32,0,34,35,36,37,38,39,
- 40,41,42,43,44,45,46,47,48,49,
- 50,51,52,0,54,55,56,0,58,59,
- 60,4,31,90,64,65,66,67,68,69,
- 70,71,72,0,1,75,76,77,78,79,
- 0,1,2,3,4,5,6,7,8,9,
- 10,11,12,13,14,15,16,17,18,19,
- 20,21,22,23,24,25,26,27,28,29,
- 30,80,32,0,34,35,36,37,38,39,
- 63,41,42,43,44,45,46,47,48,49,
- 50,51,52,0,54,55,56,24,58,59,
- 60,88,89,0,64,65,66,67,68,69,
- 70,71,72,0,0,75,76,77,78,79,
- 0,1,2,3,4,5,6,7,8,9,
- 10,11,12,13,14,15,16,17,18,19,
- 20,21,22,23,24,31,0,1,2,3,
- 0,1,2,3,34,5,6,7,8,9,
- 10,11,12,13,14,15,16,17,18,19,
- 20,21,22,23,24,0,0,31,58,59,
- 60,0,0,8,64,65,66,67,68,69,
- 70,71,72,0,91,75,76,77,78,79,
- 0,1,2,3,4,5,25,26,27,28,
- 29,30,0,32,0,3,35,36,37,38,
- 39,0,1,2,3,25,26,27,28,29,
- 30,0,32,0,34,35,36,37,38,39,
- 0,41,42,43,44,45,46,47,48,49,
- 50,51,52,0,54,55,56,24,58,83,
- 84,85,86,0,1,2,3,4,5,87,
- 0,0,0,1,2,4,4,0,25,26,
- 27,28,29,30,91,0,1,87,25,26,
- 27,28,29,30,0,32,0,34,35,36,
- 37,38,39,31,41,42,43,44,45,46,
- 47,48,49,50,51,52,31,54,55,56,
- 24,58,0,0,53,53,0,1,2,3,
- 4,5,6,7,8,9,10,11,12,13,
- 14,15,16,17,18,19,20,21,22,23,
- 87,25,26,27,28,29,30,0,32,0,
- 83,84,85,86,0,0,2,2,3,0,
- 5,0,1,2,0,0,2,83,84,85,
- 86,0,25,26,27,28,29,30,24,63,
- 25,26,27,28,29,30,73,32,24,24,
- 35,36,37,38,39,0,41,42,43,44,
- 45,46,47,48,49,50,51,52,0,54,
- 55,56,0,0,2,2,57,5,57,0,
- 25,26,27,28,29,30,0,32,0,0,
- 35,36,37,38,39,6,7,25,26,27,
- 28,29,30,0,32,74,3,35,36,37,
- 38,39,24,41,42,43,44,45,46,47,
- 48,49,50,51,52,57,54,55,56,0,
- 1,2,3,0,5,6,7,8,9,10,
- 11,12,13,14,15,16,17,18,19,20,
- 21,22,23,74,25,26,27,28,29,30,
- 0,1,2,3,4,5,6,7,8,9,
- 10,11,12,13,14,15,16,17,18,19,
- 20,21,22,23,81,82,0,1,2,3,
- 0,0,32,0,1,2,3,4,5,6,
- 7,8,9,10,11,12,13,14,15,16,
- 17,18,19,20,21,22,23,31,0,0,
- 1,2,3,63,5,6,7,8,9,10,
- 11,12,13,14,15,16,17,18,19,20,
- 21,22,23,24,0,0,53,0,4,4,
- 0,4,59,0,1,2,3,4,5,6,
- 7,8,9,10,11,12,13,14,15,16,
- 17,18,19,20,21,22,23,24,0,34,
- 33,34,0,92,2,95,96,0,1,0,
- 3,2,0,40,5,0,1,53,0,0,
- 1,3,0,25,26,27,28,29,30,0,
- 32,61,62,35,36,37,38,39,31,41,
- 42,43,44,45,46,47,48,49,50,51,
- 52,0,1,2,3,4,5,6,7,8,
- 9,10,11,12,13,14,15,16,17,18,
- 19,20,21,22,23,0,1,2,3,4,
- 5,6,7,8,9,10,11,12,13,14,
- 15,16,17,18,19,20,21,22,23,81,
- 82,0,0,0,0,1,0,3,0,3,
- 0,1,2,3,63,5,6,7,8,9,
- 10,11,12,13,14,15,16,17,18,19,
- 20,21,22,23,24,31,33,0,63,0,
- 1,2,3,4,5,6,7,8,9,10,
- 11,12,13,14,15,16,17,18,19,20,
- 21,22,23,0,1,2,3,4,5,6,
- 7,8,9,10,11,12,13,14,15,16,
- 17,18,19,20,21,22,23,81,82,0,
- 88,89,53,4,0,1,0,34,0,1,
- 2,3,4,5,6,7,8,9,10,11,
- 12,13,14,15,16,17,18,19,20,21,
- 22,23,33,34,0,31,0,1,0,1,
- 2,3,34,5,6,7,8,9,10,11,
- 12,13,14,15,16,17,18,19,20,21,
- 22,23,0,1,2,3,60,5,6,7,
- 8,9,10,11,12,13,14,15,16,17,
- 18,19,20,21,22,23,0,1,2,3,
- 0,5,6,7,8,9,10,11,12,13,
- 14,15,16,17,18,19,20,21,22,23,
- 0,1,2,3,24,5,6,7,8,9,
- 10,11,12,13,14,15,16,17,18,19,
- 20,21,22,23,0,1,2,3,0,5,
- 6,7,8,9,10,11,12,13,14,15,
- 16,17,18,19,20,21,22,23,0,1,
- 2,3,24,5,6,7,8,9,10,11,
- 12,13,14,15,16,17,18,19,20,21,
- 22,23,0,1,2,3,0,5,6,7,
- 8,9,10,11,12,13,14,15,16,17,
- 18,19,20,21,22,23,0,1,2,3,
- 0,5,6,7,8,9,10,11,12,13,
- 14,15,16,17,18,19,20,21,22,23,
- 0,0,2,0,1,25,26,27,28,29,
- 30,0,32,0,1,35,36,37,38,39,
- 0,0,9,10,24,0,0,0,2,4,
- 74,0,0,1,31,4,25,26,27,28,
- 29,30,0,0,31,25,26,27,28,29,
- 30,8,31,97,98,99,100,101,102,103,
- 104,105,106,31,33,40,0,25,26,27,
- 28,29,30,0,1,0,0,4,0,4,
- 4,0,4,0,53,4,0,0,0,0,
- 0,4,4,80,4,74,0,0,0,0,
- 4,80,4,0,31,6,7,94,33,33,
- 0,33,0,1,33,40,40,90,0,1,
- 33,40,0,0,34,3,53,40,40,6,
- 7,53,0,0,2,0,40,0,40,0,
- 1,0,0,31,61,62,0,61,62,31,
- 61,62,0,0,0,0,0,1,61,62,
- 57,0,0,0,2,0,33,2,33,0,
- 31,2,0,0,33,0,24,24,24,24,
- 0,0,0,73,0,0,0,0,0,0,
- 0,0,0,0,57,73,0,0,0,0,
- 0,0,0,57,0,73,0,0,0,0,
- 0,0,0,0,0,0,0,0,57,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,92,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,93,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0,0,0,0,0,0,0,0,0,
- 0,0
- };
- };
- public final static byte termCheck[] = TermCheck.termCheck;
- public final int termCheck(int index) { return termCheck[index]; }
-
- public interface TermAction {
- public final static char termAction[] = {0,
- 4644,1876,4632,2589,1015,4626,2529,2276,2582,3476,
- 2395,2187,2265,2218,4936,4937,4938,2134,1975,1922,
- 4656,4657,4658,4659,2539,1,1,1,1,1,
- 1,1,1,220,4654,1,1,1,1,1,
- 4652,1,1,1,1,1,1,1,1,1,
- 1,1,1,67,1,1,1,224,4742,4193,
- 742,1,4445,4861,4192,3969,809,448,741,446,
- 775,2952,743,4644,2194,2880,2928,4138,2904,709,
- 9,4635,4635,4635,4635,4635,4635,4635,4635,4635,
- 4635,4635,4635,4635,4635,4635,4635,4635,4635,4635,
- 4635,4635,4635,4635,4635,4635,4635,4635,4635,4635,
- 4635,4644,4635,4644,4635,4635,4635,4635,4635,4635,
- 4635,4635,4635,4635,4635,4635,4635,4635,4635,4635,
- 4635,4635,4635,63,4635,4635,4635,4644,4635,4635,
- 4635,4649,4168,2565,4635,4635,4635,4635,4635,4635,
- 4635,4635,4635,4644,2241,4635,4635,4635,4635,4635,
- 4644,1876,4632,2589,4655,4626,2529,2276,2582,3476,
- 2395,2187,2265,2218,4936,4937,4938,2134,1975,1922,
- 4656,4657,4658,4659,2539,1,1,1,1,1,
- 1,1151,1,4644,4654,1,1,1,1,1,
- 4648,1,1,1,1,1,1,1,1,1,
- 1,1,1,4644,1,1,1,2539,4742,4193,
- 742,2229,379,69,4192,3969,809,448,741,446,
- 775,2952,743,4644,304,2880,2928,4138,2904,709,
- 4644,1876,777,2589,4655,4647,2529,2276,2582,3476,
- 2395,2187,2265,2218,4936,4937,4938,2134,1975,1922,
- 4656,4657,4658,4659,2539,4620,250,4323,4861,1,
- 4644,1876,4646,2589,4654,4647,2529,2276,2582,3476,
- 2395,2187,2265,2218,4936,4937,4938,2134,1975,1922,
- 4656,4657,4658,4659,3600,65,60,3446,4742,4193,
- 742,137,4644,2382,4192,3969,809,448,741,446,
- 775,2952,743,70,2514,2880,2928,4138,2904,709,
- 4644,4445,4617,1,4655,1,4855,4856,4857,4949,
- 470,4950,4644,4808,4644,2085,4809,4807,4858,4810,
- 4806,4644,4445,4861,2540,1,1,1,1,1,
- 1,4644,1,185,4654,1,1,1,1,1,
- 4644,1,1,1,1,1,1,1,1,1,
- 1,1,1,238,1,1,1,3179,4930,1964,
- 1953,1911,1900,4644,4445,4617,1,4655,1,4616,
- 4644,4644,1,4323,4617,4651,4651,62,1,1,
- 1,1,1,1,2514,4644,417,280,1,1,
- 1,1,1,1,61,1,184,4654,1,1,
- 1,1,1,3446,1,1,1,1,1,1,
- 1,1,1,1,1,1,3446,1,1,1,
- 3323,4930,4644,1,4650,4650,4644,1876,4646,2373,
- 4649,4647,2529,2276,2582,3476,2395,2187,2265,2218,
- 4936,4937,4938,2134,1975,1922,4656,4657,4658,4659,
- 279,4855,4856,4857,4949,470,4950,239,3987,4644,
- 1964,1953,1911,1900,4644,4644,4830,4646,2085,2,
- 4647,1,4445,4861,4644,204,4830,1964,1953,1911,
- 1900,160,1,1,1,1,1,1,2347,4648,
- 4855,4856,4857,4949,470,4950,4890,4808,2380,3419,
- 4809,4807,4858,4810,4806,138,4812,4817,4816,4814,
- 4815,4813,4818,4819,4811,4820,4821,4822,4644,440,
- 2001,1950,4644,206,4646,4843,102,4647,4096,209,
- 4855,4856,4857,4949,470,4950,4644,4808,220,52,
- 4809,4807,4858,4810,4806,2165,2112,4855,4856,4857,
- 4949,470,4950,49,4808,3705,3002,4809,4807,4858,
- 4810,4806,225,4812,4817,4816,4814,4815,4813,4818,
- 4819,4811,4820,4821,4822,4745,440,2001,1950,4644,
- 1876,4646,2589,4644,4647,2529,2276,2582,3476,2395,
- 2187,2265,2218,4936,4937,4938,2134,1975,1922,4656,
- 4657,4658,4659,4042,4855,4856,4857,4949,470,4950,
- 1,1876,4646,2124,4649,4647,2529,2276,2582,3476,
- 2395,2187,2265,2218,4936,4937,4938,2134,1975,1922,
- 4656,4657,4658,4659,2995,2597,256,4323,4861,2540,
- 73,71,3669,4644,1876,4646,2589,4651,4647,2529,
- 2276,2582,3476,2395,2187,2265,2218,4936,4937,4938,
- 2134,1975,1922,4656,4657,4658,4659,3446,4644,4644,
- 1876,4646,2589,4648,4647,2529,2276,2582,3476,2395,
- 2187,2265,2218,4936,4937,4938,2134,1975,1922,4656,
- 4657,4658,4659,4246,1,1,4650,4644,4651,4655,
- 55,4655,4987,1,1876,4646,2589,4653,4647,2529,
- 2276,2582,3476,2395,2187,2265,2218,4936,4937,4938,
- 2134,1975,1922,4656,4657,4658,4659,3600,136,4654,
- 4296,4654,4644,2497,4777,2307,3531,254,4377,4644,
- 1,4646,4644,4652,4647,4644,3555,4650,51,4644,
- 3579,3002,4644,4855,4856,4857,4949,470,4950,4644,
- 4808,2006,2017,4809,4807,4858,4810,4806,3446,4812,
- 4817,4816,4814,4815,4813,4818,4819,4811,4820,4821,
- 4822,4644,1876,4646,2177,4649,4647,2529,2276,2582,
- 3476,2395,2187,2265,2218,4936,4937,4938,2134,1975,
- 1922,4656,4657,4658,4659,4644,1876,4646,2589,4649,
- 4647,2529,2276,2582,3476,2395,2187,2265,2218,4936,
- 4937,4938,2134,1975,1922,4656,4657,4658,4659,2995,
- 2597,4644,64,244,256,4377,50,2540,4644,3002,
- 1,1876,4646,2589,4648,4647,2529,2276,2582,3476,
- 2395,2187,2265,2218,4936,4937,4938,2134,1975,1922,
- 4656,4657,4658,4659,3600,3446,4501,4644,4648,4644,
- 1876,4646,2589,4651,4647,2529,2276,2582,3476,2395,
- 2187,2265,2218,4936,4937,4938,2134,1975,1922,4656,
- 4657,4658,4659,4644,1876,4646,2589,4655,4647,2529,
- 2276,2582,3476,2395,2187,2265,2218,4936,4937,4938,
- 2134,1975,1922,4656,4657,4658,4659,2995,2597,4644,
- 2229,379,4650,4655,215,417,4644,4654,1,1876,
- 4629,2589,4655,4626,2529,2276,2582,3476,2395,2187,
- 2265,2218,4936,4937,4938,2134,1975,1922,4656,4657,
- 4658,4659,4435,4654,4644,3446,4644,3603,1,1876,
- 4646,2589,4654,4647,2529,2276,2582,3476,2395,2187,
- 2265,2218,4936,4937,4938,2134,1975,1922,4656,4657,
- 4658,4659,1,1876,4629,2589,1116,4626,2529,2276,
- 2582,3476,2395,2187,2265,2218,4936,4937,4938,2134,
- 1975,1922,4656,4657,4658,4659,4644,1929,4646,2589,
- 1,4647,2529,2276,2582,3476,2395,2187,2265,2218,
- 4936,4937,4938,2134,1975,1922,4656,4657,4658,4659,
- 4644,1982,4646,2589,2539,4647,2529,2276,2582,3476,
- 2395,2187,2265,2218,4936,4937,4938,2134,1975,1922,
- 4656,4657,4658,4659,4644,2035,4646,2589,300,4647,
- 2529,2276,2582,3476,2395,2187,2265,2218,4936,4937,
- 4938,2134,1975,1922,4656,4657,4658,4659,4644,2088,
- 4646,2589,4246,4647,2529,2276,2582,3476,2395,2187,
- 2265,2218,4936,4937,4938,2134,1975,1922,4656,4657,
- 4658,4659,4644,1876,4646,2589,43,4647,2529,2276,
- 2582,3476,2395,2187,2265,2218,4936,4937,4938,2134,
- 1975,1922,4656,4657,4658,4659,4644,2141,4646,2589,
- 139,4647,2529,2276,2582,3476,2395,2187,2265,2218,
- 4936,4937,4938,2134,1975,1922,4656,4657,4658,4659,
- 4644,4644,4843,215,2262,4855,4856,4857,4949,470,
- 4950,4644,4808,32,3485,4809,4807,4858,4810,4806,
- 240,4644,4669,4670,2422,1,4644,68,4843,4623,
- 3950,4644,216,417,3446,4651,4855,4856,4857,4949,
- 470,4950,241,66,3507,4855,4856,4857,4949,470,
- 4950,2382,4168,3931,3912,3893,3874,3855,3817,3836,
- 3798,3779,2859,3446,4060,4652,4644,4855,4856,4857,
- 4949,470,4950,1,4377,4644,4644,4651,4644,4653,
- 4653,4644,4651,59,4650,4653,58,4644,1,57,
- 4644,4653,188,2273,4655,4918,4644,56,1,54,
- 4653,1151,187,4644,3446,2165,2112,2059,4317,4395,
- 1,1149,257,3444,2474,4652,4652,2565,216,2262,
- 2542,4652,1,53,4654,2085,4650,4652,188,2165,
- 2112,4650,1,88,4638,87,4652,4644,187,258,
- 3444,205,72,3446,2006,2017,4644,2006,2017,3446,
- 2006,2017,298,296,42,4644,4644,3627,2006,2017,
- 482,196,4644,111,4897,4644,4023,4922,4023,205,
- 3446,4016,4644,4644,6327,4644,4246,4246,4246,4246,
- 4644,4644,4644,4889,4644,4644,4644,4644,4644,4644,
- 4644,4644,4644,4644,3760,4890,4644,4644,4644,4644,
- 4644,4644,4644,4744,4644,4890,4644,4644,4644,4644,
- 4644,4644,4644,4644,4644,4644,4644,4644,4114,4644,
- 4644,4644,4644,4644,4644,4644,4644,4644,4644,4644,
- 4644,4644,4644,4644,2497,4644,4644,4644,4644,4644,
- 4644,4644,4644,4644,4644,4644,4644,4644,4644,4644,
- 4644,4644,4644,4644,4644,4644,4641
- };
- };
- public final static char termAction[] = TermAction.termAction;
- public final int termAction(int index) { return termAction[index]; }
-
- public interface Asb {
- public final static char asb[] = {0,
- 458,1,225,3,73,8,597,488,458,100,
- 77,112,596,596,112,596,112,226,73,120,
- 131,492,297,497,401,185,73,433,11,306,
- 11,306,11,338,120,3,249,73,499,404,
- 455,249,259,206,54,54,54,54,54,54,
- 54,54,433,54,54,54,134,270,275,273,
- 281,277,284,283,286,285,287,186,226,597,
- 174,300,492,171,455,433,306,306,306,306,
- 338,338,249,120,297,131,126,226,130,249,
- 455,54,401,54,54,54,54,54,54,54,
- 54,54,54,54,131,131,290,562,206,206,
- 206,206,206,527,527,344,54,54,54,54,
- 54,54,54,54,54,54,54,54,54,54,
- 54,54,54,54,54,54,185,175,52,52,
- 52,52,175,175,528,75,75,75,34,75,
- 75,174,175,137,295,54,295,488,226,73,
- 373,73,497,306,335,27,306,306,335,338,
- 179,178,179,120,492,128,494,499,404,54,
- 455,433,373,54,492,494,131,131,131,131,
- 131,130,455,273,273,270,270,277,277,275,
- 275,275,275,283,281,285,284,295,286,183,
- 175,175,175,175,175,204,204,54,256,54,
- 54,295,34,73,568,371,171,499,335,29,
- 335,179,335,54,528,126,497,131,530,455,
- 455,371,562,530,258,258,258,258,597,54,
- 54,52,52,175,52,52,175,131,75,131,
- 131,371,130,174,54,292,335,128,499,131,
- 371,52,175,52,175,52,344,175,344,175,
- 52,34,54,34,34,179,398,528,29,54,
- 131,179,343,175,52,343,175,52,52,175,
- 34,131,344,34,131,344,344,175,131,184,
- 369,373,528,54,397,369,34,131,343,343,
- 175,34,131,343,343,175,343,175,52,34,
- 34,131,34,34,131,34,131,344,175,34,
- 455,34,34,131,34,131,343,34,34,131,
- 34,131,343,34,131,343,343,175,34,34,
- 34,34,131,34,34,34,131,34,34,34,
- 131,34,34,131,34,131,343,34,34,34,
- 34,34,34,131,34
- };
- };
- public final static char asb[] = Asb.asb;
- public final int asb(int index) { return asb[index]; }
-
- public interface Asr {
- public final static byte asr[] = {0,
- 87,0,24,74,33,34,4,31,1,0,
- 35,25,36,37,38,26,32,39,27,31,
- 33,28,29,30,53,24,34,4,3,57,
- 2,1,0,65,66,24,70,72,67,60,
- 68,79,69,59,64,71,76,78,75,77,
- 58,34,4,20,21,22,23,14,15,16,
- 5,9,10,8,6,7,12,13,11,17,
- 18,19,3,2,1,0,54,11,55,56,
- 9,10,8,6,7,12,13,14,15,16,
- 17,18,19,20,21,22,23,63,5,49,
- 41,46,44,45,43,42,47,48,50,51,
- 52,57,34,39,36,32,35,38,37,25,
- 26,27,28,29,30,3,2,31,1,33,
- 53,4,0,63,53,40,57,80,94,9,
- 10,8,3,6,7,81,82,61,62,83,
- 84,85,86,88,89,90,91,92,95,96,
- 97,98,99,100,101,102,103,104,105,106,
- 74,31,1,33,34,4,0,74,40,4,
- 33,0,87,93,40,65,66,24,70,72,
- 67,60,68,79,69,59,64,71,76,78,
- 75,77,58,34,4,9,10,8,6,7,
- 12,13,11,17,18,19,1,20,21,22,
- 23,14,15,16,3,2,5,54,55,56,
- 49,41,46,44,45,43,42,47,48,50,
- 51,52,39,36,32,35,38,37,25,26,
- 27,28,30,29,0,60,0,24,74,97,
- 98,99,100,101,103,102,104,105,106,3,
- 81,82,6,7,62,61,83,84,85,86,
- 88,89,8,90,91,92,40,95,96,63,
- 53,33,34,4,57,0,57,31,1,33,
- 53,34,4,74,0,35,41,25,42,54,
- 36,43,37,44,45,38,26,46,47,32,
- 55,39,56,48,49,27,50,51,52,28,
- 29,30,2,5,40,4,0,33,2,40,
- 4,0,59,1,20,21,22,23,14,15,
- 16,2,5,9,10,8,3,6,7,12,
- 13,11,17,18,19,53,4,0,40,4,
- 31,80,1,20,21,22,23,14,15,16,
- 2,5,9,10,8,3,6,7,12,13,
- 11,17,18,19,24,0,74,31,80,0,
- 63,4,32,25,26,27,28,29,30,9,
- 10,8,3,6,7,12,13,11,17,18,
- 19,1,2,5,20,21,22,23,14,15,
- 16,0,9,10,8,3,6,7,12,13,
- 11,17,18,19,1,2,5,20,21,22,
- 23,14,15,16,63,4,0,87,35,41,
- 25,42,54,36,43,37,44,45,38,26,
- 46,47,32,55,39,56,48,49,27,50,
- 51,52,28,29,30,5,58,1,2,34,
- 4,3,0,3,1,31,53,4,35,41,
- 25,42,54,36,43,37,44,45,38,26,
- 46,47,32,55,39,56,48,49,27,50,
- 51,52,28,29,30,73,5,2,0,35,
- 41,25,42,54,36,43,37,44,45,38,
- 26,46,47,32,55,39,56,48,49,27,
- 50,51,52,28,29,30,2,5,73,3,
- 0,53,4,3,1,31,0,35,41,25,
- 42,54,36,43,37,44,45,38,26,46,
- 47,32,55,39,56,48,49,27,50,51,
- 52,28,29,30,5,2,24,0
- };
- };
- public final static byte asr[] = Asr.asr;
- public final int asr(int index) { return asr[index]; }
-
- public interface Nasb {
- public final static char nasb[] = {0,
- 79,15,67,15,120,7,134,64,94,91,
- 27,92,33,33,92,19,92,88,97,5,
- 59,118,7,16,54,49,99,55,15,5,
- 15,5,15,5,5,15,74,105,4,13,
- 56,74,15,29,14,14,14,14,14,14,
- 14,14,55,14,14,14,15,15,15,15,
- 15,15,15,15,15,15,15,1,5,134,
- 41,15,118,7,56,55,5,112,5,112,
- 5,19,74,45,7,59,103,68,15,74,
- 56,14,43,14,14,14,14,14,14,14,
- 14,14,14,14,59,59,15,109,29,29,
- 29,29,29,35,35,58,14,14,14,14,
- 14,14,14,14,14,14,14,14,14,14,
- 14,14,14,14,14,14,9,41,40,40,
- 40,40,41,41,21,15,15,15,23,15,
- 15,15,41,15,15,14,15,64,123,120,
- 14,76,16,112,50,64,127,112,50,19,
- 50,15,15,45,118,7,107,4,44,14,
- 56,55,14,14,118,108,59,59,59,59,
- 59,59,56,15,15,15,15,15,15,15,
- 15,15,15,15,15,15,15,15,15,15,
- 41,41,41,41,41,37,37,14,15,14,
- 14,15,23,120,131,5,7,84,50,120,
- 50,50,50,14,19,104,16,59,116,56,
- 56,5,110,116,15,15,15,15,15,14,
- 14,40,40,41,40,40,41,59,15,59,
- 59,13,59,41,14,15,50,7,4,59,
- 13,40,41,40,41,40,58,41,58,41,
- 40,23,14,23,23,50,61,15,120,14,
- 59,50,58,41,40,58,41,40,40,41,
- 23,59,58,23,59,58,58,41,59,15,
- 47,14,15,14,52,47,23,59,58,58,
- 41,23,59,58,58,41,58,41,40,23,
- 23,59,23,23,59,23,59,58,41,23,
- 56,23,23,59,23,59,58,23,23,59,
- 23,59,58,23,59,58,58,41,23,23,
- 23,23,59,23,23,23,59,23,23,23,
- 59,23,23,59,23,59,58,23,23,23,
- 23,23,23,59,23
- };
- };
- public final static char nasb[] = Nasb.nasb;
- public final int nasb(int index) { return nasb[index]; }
-
- public interface Nasr {
- public final static char nasr[] = {0,
- 32,4,92,34,22,0,43,0,32,34,
- 39,75,22,4,0,22,21,0,64,0,
- 93,0,32,4,26,0,101,0,22,45,
- 4,0,82,0,73,0,22,34,46,4,
- 19,0,38,4,35,0,4,67,22,39,
- 0,87,0,22,4,38,0,4,21,0,
- 98,97,0,19,22,0,51,81,80,79,
- 78,77,0,65,0,42,86,0,99,34,
- 42,22,0,95,22,34,0,68,69,70,
- 60,48,0,34,22,88,42,0,22,42,
- 96,0,22,56,40,0,40,21,22,56,
- 0,63,22,45,0,22,34,51,0,40,
- 22,0,34,22,100,0,22,45,57,0,
- 22,34,46,24,0
- };
- };
- public final static char nasr[] = Nasr.nasr;
- public final int nasr(int index) { return nasr[index]; }
-
- public interface TerminalIndex {
- public final static char terminalIndex[] = {0,
- 2,99,9,110,109,10,11,8,6,7,
- 71,12,13,84,85,86,91,92,93,100,
- 101,102,103,3,51,67,79,87,88,89,
- 1,72,42,107,47,58,63,66,75,106,
- 50,55,59,64,65,69,70,77,78,81,
- 82,83,105,57,73,76,29,113,52,80,
- 16,17,104,48,49,53,54,60,61,62,
- 68,74,30,31,90,94,95,96,97,4,
- 14,15,18,19,20,21,98,22,23,24,
- 25,26,56,5,27,28,32,33,34,35,
- 36,37,38,39,40,41,43,44,45,108,
- 111,112
- };
- };
- public final static char terminalIndex[] = TerminalIndex.terminalIndex;
- public final int terminalIndex(int index) { return terminalIndex[index]; }
-
- public interface NonterminalIndex {
- public final static char nonterminalIndex[] = {0,
- 0,0,0,119,125,126,127,128,129,130,
- 131,132,133,134,135,136,137,124,117,139,
- 115,0,118,142,138,141,0,0,0,0,
- 0,143,0,148,155,0,0,114,116,173,
- 0,175,176,195,167,146,162,154,0,0,
- 174,122,140,163,184,186,166,177,183,157,
- 161,0,165,170,182,185,187,158,159,160,
- 172,178,121,123,145,149,150,151,152,153,
- 156,164,169,0,171,179,190,192,0,0,
- 120,144,147,168,180,181,188,189,191,193,
- 194,0
- };
- };
- public final static char nonterminalIndex[] = NonterminalIndex.nonterminalIndex;
- public final int nonterminalIndex(int index) { return nonterminalIndex[index]; }
-
- public interface ScopePrefix {
- public final static char scopePrefix[] = {
- 204,204,62,72,108,133,139,108,174,38,
- 90,98,114,145,150,78,114,6,12,16,
- 29,43,86,55,123,183,200,224,228,29,
- 55,55,187,55,1,1,24,47,50,95,
- 103,50,232,127,194,165,194,194,20,119,
- 155,155,155,155
- };
- };
- public final static char scopePrefix[] = ScopePrefix.scopePrefix;
- public final int scopePrefix(int index) { return scopePrefix[index]; }
-
- public interface ScopeSuffix {
- public final static char scopeSuffix[] = {
- 36,33,4,4,36,36,36,33,180,10,
- 4,10,36,36,36,83,33,10,10,10,
- 36,10,4,4,121,36,10,10,4,33,
- 59,83,191,68,4,4,27,10,53,4,
- 10,106,10,130,197,168,218,211,22,121,
- 157,159,161,163
- };
- };
- public final static char scopeSuffix[] = ScopeSuffix.scopeSuffix;
- public final int scopeSuffix(int index) { return scopeSuffix[index]; }
-
- public interface ScopeLhs {
- public final static char scopeLhs[] = {
- 4,4,43,43,69,68,68,69,29,56,
- 43,42,69,68,68,43,69,5,5,5,
- 54,56,43,43,57,24,5,4,4,54,
- 43,43,17,43,101,87,67,56,66,43,
- 40,47,3,57,6,30,4,4,97,57,
- 80,79,78,77
- };
- };
- public final static char scopeLhs[] = ScopeLhs.scopeLhs;
- public final int scopeLhs(int index) { return scopeLhs[index]; }
-
- public interface ScopeLa {
- public final static byte scopeLa[] = {
- 40,33,63,63,40,40,40,33,93,53,
- 63,53,40,40,40,20,33,53,53,53,
- 40,53,63,63,34,40,53,53,63,33,
- 3,20,57,32,63,63,20,53,1,63,
- 53,2,53,2,53,60,53,53,74,34,
- 2,54,55,49
- };
- };
- public final static byte scopeLa[] = ScopeLa.scopeLa;
- public final int scopeLa(int index) { return scopeLa[index]; }
-
- public interface ScopeStateSet {
- public final static char scopeStateSet[] = {
- 17,17,226,226,240,240,240,240,131,233,
- 226,244,240,240,240,226,240,17,17,17,
- 4,233,226,226,11,178,17,17,17,4,
- 226,226,51,226,176,1,6,233,235,226,
- 244,250,17,11,23,131,17,17,2,11,
- 241,241,241,241
- };
- };
- public final static char scopeStateSet[] = ScopeStateSet.scopeStateSet;
- public final int scopeStateSet(int index) { return scopeStateSet[index]; }
-
- public interface ScopeRhs {
- public final static char scopeRhs[] = {0,
- 165,31,0,114,0,164,1,19,0,115,
- 0,164,1,18,0,164,1,17,0,210,
- 0,31,0,209,134,0,163,0,186,134,
- 24,0,42,116,0,116,0,170,134,1,
- 168,0,170,134,1,0,178,1,0,163,
- 134,0,186,0,177,134,31,0,9,114,
- 0,130,32,177,134,31,0,72,124,114,
- 0,130,177,134,32,31,0,177,134,32,
- 31,0,124,114,0,130,32,31,0,130,
- 177,134,31,0,130,31,0,170,134,1,
- 152,0,159,1,0,173,0,196,134,24,
- 176,54,0,196,134,24,54,0,157,0,
- 117,0,206,134,157,0,134,157,0,168,
- 117,0,174,134,24,194,56,0,174,134,
- 24,194,55,0,174,134,24,56,0,174,
- 134,24,55,0,193,0,160,0,159,0,
- 158,0,157,0,138,67,0,80,2,118,
- 115,117,0,138,133,135,1,70,0,56,
- 141,0,204,134,24,0,135,96,128,0,
- 29,137,0,164,1,0,115,126,0,164,
- 1,11,0,186,134,24,133,164,1,0,
- 115,3,0,123,42,116,0,115,3,0,
- 123,116,0,203,1,116,0,135,31,116,
- 0,135,1,0
- };
- };
- public final static char scopeRhs[] = ScopeRhs.scopeRhs;
- public final int scopeRhs(int index) { return scopeRhs[index]; }
-
- public interface ScopeState {
- public final static char scopeState[] = {0,
- 2949,3601,0,3724,3705,2542,2474,2350,2327,0,
- 4417,4493,4397,4393,4384,0,3476,2395,2187,2134,
- 1975,1922,3469,2373,2307,2514,2497,2382,2565,1964,
- 1953,1911,1900,2229,379,2165,2112,2017,2006,3002,
- 2995,2597,2589,2177,2582,2124,2529,2276,2265,2218,
- 2835,2810,2785,2760,2735,3422,3398,2710,2685,2660,
- 2635,2610,2542,4168,3724,2474,3374,3350,3326,3302,
- 3278,2450,3254,2425,4114,3627,3230,3206,3182,3158,
- 3134,3110,2350,4096,2327,3086,3062,3038,3014,3760,
- 4060,4042,3603,3579,3555,2241,2194,4023,3987,2976,
- 3705,3969,2952,2928,2904,2880,3531,3507,3485,2141,
- 2088,2035,1982,1929,3950,3931,3912,3893,3874,3855,
- 3836,3817,3798,3779,2859,2288,1876,3669,3651,3446,
- 1842,1808,1774,1740,1706,1672,1638,1604,1570,1536,
- 1502,1468,1434,1400,1366,1332,1298,1264,1230,1196,
- 1162,1128,1094,1060,1026,992,958,924,890,856,
- 822,788,754,720,686,652,618,584,550,516,
- 482,448,396,344,0,470,0,1842,1808,1774,
- 1740,1706,1672,1638,1604,1570,1536,1502,1468,1434,
- 1400,1366,1332,1298,1264,1230,1196,1162,1128,1094,
- 1060,1026,992,958,924,890,856,822,788,754,
- 720,686,652,618,584,550,516,4506,482,448,
- 396,2160,344,445,0,2563,2537,2536,2495,2371,
- 2131,394,3700,391,4377,4323,4468,4312,0,4241,
- 4159,4154,0,391,4216,2185,2030,4253,4225,4435,
- 4369,4361,4323,4296,4312,4286,4445,0
- };
- };
- public final static char scopeState[] = ScopeState.scopeState;
- public final int scopeState(int index) { return scopeState[index]; }
-
- public interface InSymb {
- public final static char inSymb[] = {0,
- 0,202,134,154,1,152,184,146,211,189,
- 29,190,56,55,191,54,192,193,163,3,
- 159,134,152,1,31,24,134,31,194,24,
- 194,24,176,24,3,154,134,163,134,32,
- 130,134,117,1,19,18,17,11,13,12,
- 7,6,3,8,10,9,116,119,121,120,
- 123,122,125,124,127,126,128,134,208,184,
- 188,159,134,152,165,3,24,134,24,134,
- 24,134,134,177,152,170,146,134,171,134,
- 130,3,177,106,105,104,102,103,101,100,
- 99,98,97,74,164,135,132,157,1,1,
- 1,1,1,94,80,1,31,82,81,3,
- 61,62,7,6,89,88,86,85,84,83,
- 90,8,92,91,96,95,204,77,75,78,
- 76,71,64,59,69,79,68,60,67,72,
- 70,132,137,2,66,65,144,146,134,33,
- 74,163,1,134,174,157,175,134,174,134,
- 196,176,197,177,134,168,1,33,177,32,
- 130,3,133,33,134,1,164,164,164,164,
- 164,203,135,120,120,119,119,122,122,121,
- 121,121,121,124,123,126,125,135,127,4,
- 135,135,135,135,205,1,1,1,138,1,
- 1,165,57,134,212,24,152,134,174,134,
- 174,196,33,74,33,163,1,178,134,130,
- 130,24,163,134,133,133,133,133,133,33,
- 57,158,131,135,158,131,135,135,60,135,
- 135,134,207,206,57,159,33,168,134,170,
- 134,131,135,131,135,131,131,135,131,135,
- 131,133,1,133,133,186,134,33,33,57,
- 170,186,131,135,131,131,135,131,131,135,
- 133,135,131,133,135,131,131,135,135,138,
- 33,209,80,31,210,33,133,156,131,131,
- 135,133,156,131,131,135,131,135,131,133,
- 133,135,133,133,135,133,135,131,133,93,
- 165,133,133,156,133,156,131,133,133,156,
- 133,156,131,133,156,131,131,135,133,133,
- 133,133,135,133,133,133,156,133,133,133,
- 156,133,133,156,133,156,131,133,133,133,
- 133,133,133,156,133
- };
- };
- public final static char inSymb[] = InSymb.inSymb;
- public final int inSymb(int index) { return inSymb[index]; }
-
- public interface Name {
- public final static String name[] = {
- "",//$NON-NLS-1$
- "[",//$NON-NLS-1$
- "(",//$NON-NLS-1$
- "{",//$NON-NLS-1$
- ".",//$NON-NLS-1$
- "->",//$NON-NLS-1$
- "++",//$NON-NLS-1$
- "--",//$NON-NLS-1$
- "&",//$NON-NLS-1$
- "*",//$NON-NLS-1$
- "+",//$NON-NLS-1$
- "-",//$NON-NLS-1$
- "~",//$NON-NLS-1$
- "!",//$NON-NLS-1$
- "/",//$NON-NLS-1$
- "%",//$NON-NLS-1$
- ">>",//$NON-NLS-1$
- "<<",//$NON-NLS-1$
- "<",//$NON-NLS-1$
- ">",//$NON-NLS-1$
- "<=",//$NON-NLS-1$
- ">=",//$NON-NLS-1$
- "==",//$NON-NLS-1$
- "!=",//$NON-NLS-1$
- "^",//$NON-NLS-1$
- "|",//$NON-NLS-1$
- "&&",//$NON-NLS-1$
- "||",//$NON-NLS-1$
- "?",//$NON-NLS-1$
- ":",//$NON-NLS-1$
- "...",//$NON-NLS-1$
- "=",//$NON-NLS-1$
- "*=",//$NON-NLS-1$
- "/=",//$NON-NLS-1$
- "%=",//$NON-NLS-1$
- "+=",//$NON-NLS-1$
- "-=",//$NON-NLS-1$
- ">>=",//$NON-NLS-1$
- "<<=",//$NON-NLS-1$
- "&=",//$NON-NLS-1$
- "^=",//$NON-NLS-1$
- "|=",//$NON-NLS-1$
- ",",//$NON-NLS-1$
- "#",//$NON-NLS-1$
- "##",//$NON-NLS-1$
- "nl",//$NON-NLS-1$
- "$empty",//$NON-NLS-1$
- "auto",//$NON-NLS-1$
- "break",//$NON-NLS-1$
- "case",//$NON-NLS-1$
- "char",//$NON-NLS-1$
- "const",//$NON-NLS-1$
- "continue",//$NON-NLS-1$
- "default",//$NON-NLS-1$
- "do",//$NON-NLS-1$
- "double",//$NON-NLS-1$
- "else",//$NON-NLS-1$
- "enum",//$NON-NLS-1$
- "extern",//$NON-NLS-1$
- "float",//$NON-NLS-1$
- "for",//$NON-NLS-1$
- "goto",//$NON-NLS-1$
- "if",//$NON-NLS-1$
- "inline",//$NON-NLS-1$
- "int",//$NON-NLS-1$
- "long",//$NON-NLS-1$
- "register",//$NON-NLS-1$
- "restrict",//$NON-NLS-1$
- "return",//$NON-NLS-1$
- "short",//$NON-NLS-1$
- "signed",//$NON-NLS-1$
- "sizeof",//$NON-NLS-1$
- "static",//$NON-NLS-1$
- "struct",//$NON-NLS-1$
- "switch",//$NON-NLS-1$
- "typedef",//$NON-NLS-1$
- "union",//$NON-NLS-1$
- "unsigned",//$NON-NLS-1$
- "void",//$NON-NLS-1$
- "volatile",//$NON-NLS-1$
- "while",//$NON-NLS-1$
- "_Bool",//$NON-NLS-1$
- "_Complex",//$NON-NLS-1$
- "_Imaginary",//$NON-NLS-1$
- "MYTHREAD",//$NON-NLS-1$
- "THREADS",//$NON-NLS-1$
- "UPC_MAX_BLOCKSIZE",//$NON-NLS-1$
- "relaxed",//$NON-NLS-1$
- "shared",//$NON-NLS-1$
- "strict",//$NON-NLS-1$
- "upc_barrier",//$NON-NLS-1$
- "upc_localsizeof",//$NON-NLS-1$
- "upc_blocksizeof",//$NON-NLS-1$
- "upc_elemsizeof",//$NON-NLS-1$
- "upc_notify",//$NON-NLS-1$
- "upc_fence",//$NON-NLS-1$
- "upc_wait",//$NON-NLS-1$
- "upc_forall",//$NON-NLS-1$
- "EOF_TOKEN",//$NON-NLS-1$
- "identifier",//$NON-NLS-1$
- "integer",//$NON-NLS-1$
- "floating",//$NON-NLS-1$
- "charconst",//$NON-NLS-1$
- "stringlit",//$NON-NLS-1$
- "RightBracket",//$NON-NLS-1$
- "RightParen",//$NON-NLS-1$
- "RightBrace",//$NON-NLS-1$
- "SemiColon",//$NON-NLS-1$
- "Invalid",//$NON-NLS-1$
- "Completion",//$NON-NLS-1$
- "EndOfCompletion",//$NON-NLS-1$
- "SingleLineComment",//$NON-NLS-1$
- "MultiLineComment",//$NON-NLS-1$
- "ERROR_TOKEN",//$NON-NLS-1$
- "]",//$NON-NLS-1$
- ")",//$NON-NLS-1$
- "}",//$NON-NLS-1$
- ";",//$NON-NLS-1$
- "expression",//$NON-NLS-1$
- "postfix_expression",//$NON-NLS-1$
- "argument_expression_list",//$NON-NLS-1$
- "member_name",//$NON-NLS-1$
- "type_name",//$NON-NLS-1$
- "initializer_list",//$NON-NLS-1$
- "assignment_expression",//$NON-NLS-1$
- "unary_expression",//$NON-NLS-1$
- "cast_expression",//$NON-NLS-1$
- "multiplicative_expression",//$NON-NLS-1$
- "additive_expression",//$NON-NLS-1$
- "shift_expression",//$NON-NLS-1$
- "relational_expression",//$NON-NLS-1$
- "equality_expression",//$NON-NLS-1$
- "AND_expression",//$NON-NLS-1$
- "exclusive_OR_expression",//$NON-NLS-1$
- "inclusive_OR_expression",//$NON-NLS-1$
- "logical_AND_expression",//$NON-NLS-1$
- "logical_OR_expression",//$NON-NLS-1$
- "conditional_expression",//$NON-NLS-1$
- "expression_in_statement",//$NON-NLS-1$
- "expression_list",//$NON-NLS-1$
- "constant_expression",//$NON-NLS-1$
- "statement",//$NON-NLS-1$
- "compound_statement",//$NON-NLS-1$
- "label_identifier",//$NON-NLS-1$
- "block_item_list",//$NON-NLS-1$
- "block_item",//$NON-NLS-1$
- "declaration",//$NON-NLS-1$
- "goto_identifier",//$NON-NLS-1$
- "declaration_specifiers",//$NON-NLS-1$
- "init_declarator_list",//$NON-NLS-1$
- "simple_declaration_specifiers",//$NON-NLS-1$
- "struct_or_union_declaration_sp" +//$NON-NLS-1$
- "ecifiers",//$NON-NLS-1$
- "enum_declaration_specifiers",//$NON-NLS-1$
- "typdef_name_declaration_specif" +//$NON-NLS-1$
- "iers",//$NON-NLS-1$
- "no_type_declaration_specifier",//$NON-NLS-1$
- "type_qualifier",//$NON-NLS-1$
- "no_type_declaration_specifiers",//$NON-NLS-1$
- "type_specifier",//$NON-NLS-1$
- "struct_or_union_specifier",//$NON-NLS-1$
- "enum_specifier",//$NON-NLS-1$
- "typedef_name",//$NON-NLS-1$
- "init_declarator",//$NON-NLS-1$
- "declarator",//$NON-NLS-1$
- "initializer",//$NON-NLS-1$
- "struct_or_union_identifier",//$NON-NLS-1$
- "struct_declaration_list",//$NON-NLS-1$
- "struct_declaration",//$NON-NLS-1$
- "specifier_qualifier_list",//$NON-NLS-1$
- "struct_declarator_list",//$NON-NLS-1$
- "struct_declarator",//$NON-NLS-1$
- "enum_identifier",//$NON-NLS-1$
- "enumerator_list",//$NON-NLS-1$
- "enumerator",//$NON-NLS-1$
- "direct_declarator",//$NON-NLS-1$
- "pointer",//$NON-NLS-1$
- "function_direct_declarator",//$NON-NLS-1$
- "array_modifier",//$NON-NLS-1$
- "parameter_type_list",//$NON-NLS-1$
- "function_declarator",//$NON-NLS-1$
- "knr_direct_declarator",//$NON-NLS-1$
- "identifier_list",//$NON-NLS-1$
- "knr_function_declarator",//$NON-NLS-1$
- "type_qualifier_list",//$NON-NLS-1$
- "parameter_list",//$NON-NLS-1$
- "parameter_declaration",//$NON-NLS-1$
- "abstract_declarator",//$NON-NLS-1$
- "direct_abstract_declarator",//$NON-NLS-1$
- "designated_initializer",//$NON-NLS-1$
- "designation",//$NON-NLS-1$
- "designator_list",//$NON-NLS-1$
- "designator",//$NON-NLS-1$
- "external_declaration_list",//$NON-NLS-1$
- "external_declaration",//$NON-NLS-1$
- "declaration_list",//$NON-NLS-1$
- "layout_qualifier",//$NON-NLS-1$
- "affinity"//$NON-NLS-1$
- };
- };
- public final static String name[] = Name.name;
- public final String name(int index) { return name[index]; }
-
- public final static int
- ERROR_SYMBOL = 58,
- SCOPE_UBOUND = 53,
- SCOPE_SIZE = 54,
- MAX_NAME_LENGTH = 38;
-
- public final int getErrorSymbol() { return ERROR_SYMBOL; }
- public final int getScopeUbound() { return SCOPE_UBOUND; }
- public final int getScopeSize() { return SCOPE_SIZE; }
- public final int getMaxNameLength() { return MAX_NAME_LENGTH; }
-
- public final static int
- NUM_STATES = 385,
- NT_OFFSET = 112,
- LA_STATE_OFFSET = 4987,
- MAX_LA = 2147483647,
- NUM_RULES = 343,
- NUM_NONTERMINALS = 102,
- NUM_SYMBOLS = 214,
- SEGMENT_SIZE = 8192,
- START_STATE = 4225,
- IDENTIFIER_SYMBOL = 0,
- EOFT_SYMBOL = 87,
- EOLT_SYMBOL = 87,
- ACCEPT_ACTION = 4616,
- ERROR_ACTION = 4644;
-
- public final static boolean BACKTRACK = true;
-
- public final int getNumStates() { return NUM_STATES; }
- public final int getNtOffset() { return NT_OFFSET; }
- public final int getLaStateOffset() { return LA_STATE_OFFSET; }
- public final int getMaxLa() { return MAX_LA; }
- public final int getNumRules() { return NUM_RULES; }
- public final int getNumNonterminals() { return NUM_NONTERMINALS; }
- public final int getNumSymbols() { return NUM_SYMBOLS; }
- public final int getSegmentSize() { return SEGMENT_SIZE; }
- public final int getStartState() { return START_STATE; }
- public final int getStartSymbol() { return lhs[0]; }
- public final int getIdentifierSymbol() { return IDENTIFIER_SYMBOL; }
- public final int getEoftSymbol() { return EOFT_SYMBOL; }
- public final int getEoltSymbol() { return EOLT_SYMBOL; }
- public final int getAcceptAction() { return ACCEPT_ACTION; }
- public final int getErrorAction() { return ERROR_ACTION; }
- public final boolean isValidForParser() { return isValidForParser; }
- public final boolean getBacktrack() { return BACKTRACK; }
-
- public final int originalState(int state) {
- return -baseCheck[state];
- }
- public final int asi(int state) {
- return asb[originalState(state)];
- }
- public final int nasi(int state) {
- return nasb[originalState(state)];
- }
- public final int inSymbol(int state) {
- return inSymb[originalState(state)];
- }
-
- public final int ntAction(int state, int sym) {
- return baseAction[state + sym];
- }
-
- public final int tAction(int state, int sym) {
- int i = baseAction[state],
- k = i + sym;
- return termAction[termCheck[k] == sym ? k : i];
- }
- public final int lookAhead(int la_state, int sym) {
- int k = la_state + sym;
- return termAction[termCheck[k] == sym ? k : la_state];
- }
-}
diff --git a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/UPCParsersym.java b/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/UPCParsersym.java
deleted file mode 100644
index 663938434b..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/UPCParsersym.java
+++ /dev/null
@@ -1,248 +0,0 @@
-/*******************************************************************************
-* Copyright (c) 2006, 2007 IBM Corporation 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
-* http://www.eclipse.org/legal/epl-v10.html
-*
-* Contributors:
-* IBM Corporation - initial API and implementation
-*********************************************************************************/
-
-// This file was generated by LPG
-
-package org.eclipse.cdt.internal.core.dom.parser.upc;
-
-public interface UPCParsersym {
- public final static int
- TK_auto = 35,
- TK_break = 64,
- TK_case = 65,
- TK_char = 41,
- TK_const = 25,
- TK_continue = 59,
- TK_default = 66,
- TK_do = 67,
- TK_double = 42,
- TK_else = 93,
- TK_enum = 54,
- TK_extern = 36,
- TK_float = 43,
- TK_for = 68,
- TK_goto = 69,
- TK_if = 70,
- TK_inline = 37,
- TK_int = 44,
- TK_long = 45,
- TK_register = 38,
- TK_restrict = 26,
- TK_return = 71,
- TK_short = 46,
- TK_signed = 47,
- TK_sizeof = 11,
- TK_static = 32,
- TK_struct = 55,
- TK_switch = 72,
- TK_typedef = 39,
- TK_union = 56,
- TK_unsigned = 48,
- TK_void = 49,
- TK_volatile = 27,
- TK_while = 60,
- TK__Bool = 50,
- TK__Complex = 51,
- TK__Imaginary = 52,
- TK_LeftBracket = 31,
- TK_LeftParen = 1,
- TK_LeftBrace = 24,
- TK_Dot = 80,
- TK_Arrow = 94,
- TK_PlusPlus = 9,
- TK_MinusMinus = 10,
- TK_And = 8,
- TK_Star = 3,
- TK_Plus = 6,
- TK_Minus = 7,
- TK_Tilde = 12,
- TK_Bang = 13,
- TK_Slash = 81,
- TK_Percent = 82,
- TK_RightShift = 61,
- TK_LeftShift = 62,
- TK_LT = 83,
- TK_GT = 84,
- TK_LE = 85,
- TK_GE = 86,
- TK_EQ = 88,
- TK_NE = 89,
- TK_Caret = 90,
- TK_Or = 91,
- TK_AndAnd = 92,
- TK_OrOr = 95,
- TK_Question = 96,
- TK_Colon = 57,
- TK_DotDotDot = 73,
- TK_Assign = 74,
- TK_StarAssign = 97,
- TK_SlashAssign = 98,
- TK_PercentAssign = 99,
- TK_PlusAssign = 100,
- TK_MinusAssign = 101,
- TK_RightShiftAssign = 102,
- TK_LeftShiftAssign = 103,
- TK_AndAssign = 104,
- TK_CaretAssign = 105,
- TK_OrAssign = 106,
- TK_Comma = 33,
- TK_Hash = 107,
- TK_HashHash = 108,
- TK_NewLine = 109,
- TK_MYTHREAD = 14,
- TK_THREADS = 15,
- TK_UPC_MAX_BLOCKSIZE = 16,
- TK_relaxed = 28,
- TK_shared = 29,
- TK_strict = 30,
- TK_upc_barrier = 75,
- TK_upc_localsizeof = 17,
- TK_upc_blocksizeof = 18,
- TK_upc_elemsizeof = 19,
- TK_upc_notify = 76,
- TK_upc_fence = 77,
- TK_upc_wait = 78,
- TK_upc_forall = 79,
- TK_EOF_TOKEN = 87,
- TK_identifier = 2,
- TK_integer = 20,
- TK_floating = 21,
- TK_charconst = 22,
- TK_stringlit = 23,
- TK_RightBracket = 63,
- TK_RightParen = 53,
- TK_RightBrace = 40,
- TK_SemiColon = 34,
- TK_Invalid = 110,
- TK_Completion = 5,
- TK_EndOfCompletion = 4,
- TK_SingleLineComment = 111,
- TK_MultiLineComment = 112,
- TK_ERROR_TOKEN = 58;
-
- public final static String orderedTerminalSymbols[] = {
- "",//$NON-NLS-1$
- "LeftParen",//$NON-NLS-1$
- "identifier",//$NON-NLS-1$
- "Star",//$NON-NLS-1$
- "EndOfCompletion",//$NON-NLS-1$
- "Completion",//$NON-NLS-1$
- "Plus",//$NON-NLS-1$
- "Minus",//$NON-NLS-1$
- "And",//$NON-NLS-1$
- "PlusPlus",//$NON-NLS-1$
- "MinusMinus",//$NON-NLS-1$
- "sizeof",//$NON-NLS-1$
- "Tilde",//$NON-NLS-1$
- "Bang",//$NON-NLS-1$
- "MYTHREAD",//$NON-NLS-1$
- "THREADS",//$NON-NLS-1$
- "UPC_MAX_BLOCKSIZE",//$NON-NLS-1$
- "upc_localsizeof",//$NON-NLS-1$
- "upc_blocksizeof",//$NON-NLS-1$
- "upc_elemsizeof",//$NON-NLS-1$
- "integer",//$NON-NLS-1$
- "floating",//$NON-NLS-1$
- "charconst",//$NON-NLS-1$
- "stringlit",//$NON-NLS-1$
- "LeftBrace",//$NON-NLS-1$
- "const",//$NON-NLS-1$
- "restrict",//$NON-NLS-1$
- "volatile",//$NON-NLS-1$
- "relaxed",//$NON-NLS-1$
- "shared",//$NON-NLS-1$
- "strict",//$NON-NLS-1$
- "LeftBracket",//$NON-NLS-1$
- "static",//$NON-NLS-1$
- "Comma",//$NON-NLS-1$
- "SemiColon",//$NON-NLS-1$
- "auto",//$NON-NLS-1$
- "extern",//$NON-NLS-1$
- "inline",//$NON-NLS-1$
- "register",//$NON-NLS-1$
- "typedef",//$NON-NLS-1$
- "RightBrace",//$NON-NLS-1$
- "char",//$NON-NLS-1$
- "double",//$NON-NLS-1$
- "float",//$NON-NLS-1$
- "int",//$NON-NLS-1$
- "long",//$NON-NLS-1$
- "short",//$NON-NLS-1$
- "signed",//$NON-NLS-1$
- "unsigned",//$NON-NLS-1$
- "void",//$NON-NLS-1$
- "_Bool",//$NON-NLS-1$
- "_Complex",//$NON-NLS-1$
- "_Imaginary",//$NON-NLS-1$
- "RightParen",//$NON-NLS-1$
- "enum",//$NON-NLS-1$
- "struct",//$NON-NLS-1$
- "union",//$NON-NLS-1$
- "Colon",//$NON-NLS-1$
- "ERROR_TOKEN",//$NON-NLS-1$
- "continue",//$NON-NLS-1$
- "while",//$NON-NLS-1$
- "RightShift",//$NON-NLS-1$
- "LeftShift",//$NON-NLS-1$
- "RightBracket",//$NON-NLS-1$
- "break",//$NON-NLS-1$
- "case",//$NON-NLS-1$
- "default",//$NON-NLS-1$
- "do",//$NON-NLS-1$
- "for",//$NON-NLS-1$
- "goto",//$NON-NLS-1$
- "if",//$NON-NLS-1$
- "return",//$NON-NLS-1$
- "switch",//$NON-NLS-1$
- "DotDotDot",//$NON-NLS-1$
- "Assign",//$NON-NLS-1$
- "upc_barrier",//$NON-NLS-1$
- "upc_notify",//$NON-NLS-1$
- "upc_fence",//$NON-NLS-1$
- "upc_wait",//$NON-NLS-1$
- "upc_forall",//$NON-NLS-1$
- "Dot",//$NON-NLS-1$
- "Slash",//$NON-NLS-1$
- "Percent",//$NON-NLS-1$
- "LT",//$NON-NLS-1$
- "GT",//$NON-NLS-1$
- "LE",//$NON-NLS-1$
- "GE",//$NON-NLS-1$
- "EOF_TOKEN",//$NON-NLS-1$
- "EQ",//$NON-NLS-1$
- "NE",//$NON-NLS-1$
- "Caret",//$NON-NLS-1$
- "Or",//$NON-NLS-1$
- "AndAnd",//$NON-NLS-1$
- "else",//$NON-NLS-1$
- "Arrow",//$NON-NLS-1$
- "OrOr",//$NON-NLS-1$
- "Question",//$NON-NLS-1$
- "StarAssign",//$NON-NLS-1$
- "SlashAssign",//$NON-NLS-1$
- "PercentAssign",//$NON-NLS-1$
- "PlusAssign",//$NON-NLS-1$
- "MinusAssign",//$NON-NLS-1$
- "RightShiftAssign",//$NON-NLS-1$
- "LeftShiftAssign",//$NON-NLS-1$
- "AndAssign",//$NON-NLS-1$
- "CaretAssign",//$NON-NLS-1$
- "OrAssign",//$NON-NLS-1$
- "Hash",//$NON-NLS-1$
- "HashHash",//$NON-NLS-1$
- "NewLine",//$NON-NLS-1$
- "Invalid",//$NON-NLS-1$
- "SingleLineComment",//$NON-NLS-1$
- "MultiLineComment"//$NON-NLS-1$
- };
-
- public final static boolean isValidForParser = true;
-}
diff --git a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTCompositeTypeSpecifier.java b/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTCompositeTypeSpecifier.java
deleted file mode 100644
index b8fcd023f0..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTCompositeTypeSpecifier.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.internal.core.dom.parser.upc.ast;
-
-import org.eclipse.cdt.core.dom.ast.ASTVisitor;
-import org.eclipse.cdt.core.dom.ast.IASTDeclaration;
-import org.eclipse.cdt.core.dom.ast.IASTExpression;
-import org.eclipse.cdt.core.dom.upc.ast.IUPCASTCompositeTypeSpecifier;
-import org.eclipse.cdt.internal.core.dom.parser.c.CASTCompositeTypeSpecifier;
-
-public class UPCASTCompositeTypeSpecifier extends CASTCompositeTypeSpecifier implements
- IUPCASTCompositeTypeSpecifier {
-
-
- private int referenceType;
- private int sharedQualifier;
- private IASTExpression blockSizeExpression;
-
-
- public IASTExpression getBlockSizeExpression() {
- return blockSizeExpression;
- }
-
- public int getReferenceType() {
- return referenceType;
- }
-
- public int getSharedQualifier() {
- return sharedQualifier;
- }
-
- public void setBlockSizeExpression(IASTExpression expr) {
- this.blockSizeExpression = expr;
- }
-
- public void setReferenceType(int referenceType) {
- this.referenceType = referenceType;
- }
-
- public void setSharedQualifier(int shared) {
- this.sharedQualifier = shared;
- }
-
-
-
- public boolean accept( ASTVisitor action ){
- if( action.shouldVisitDeclSpecifiers ){
- switch( action.visit( this ) ){
- case ASTVisitor.PROCESS_ABORT : return false;
- case ASTVisitor.PROCESS_SKIP : return true;
- default : break;
- }
- }
- if( getName() != null ) if( !getName().accept( action ) ) return false;
- if( blockSizeExpression != null) if( !blockSizeExpression.accept( action ) ) return false;
-
- IASTDeclaration [] decls = getMembers();
- for( int i = 0; i < decls.length; i++ )
- if( !decls[i].accept( action ) ) return false;
-
- if( action.shouldVisitDeclSpecifiers ){
- switch( action.leave( this ) ){
- case ASTVisitor.PROCESS_ABORT : return false;
- case ASTVisitor.PROCESS_SKIP : return true;
- default : break;
- }
- }
- return true;
- }
-}
diff --git a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTElaboratedTypeSpecifier.java b/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTElaboratedTypeSpecifier.java
deleted file mode 100644
index 368d1fd090..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTElaboratedTypeSpecifier.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.internal.core.dom.parser.upc.ast;
-
-import org.eclipse.cdt.core.dom.ast.ASTVisitor;
-import org.eclipse.cdt.core.dom.ast.IASTExpression;
-import org.eclipse.cdt.core.dom.upc.ast.IUPCASTElaboratedTypeSpecifier;
-import org.eclipse.cdt.internal.core.dom.parser.c.CASTElaboratedTypeSpecifier;
-
-public class UPCASTElaboratedTypeSpecifier extends CASTElaboratedTypeSpecifier implements IUPCASTElaboratedTypeSpecifier {
-
- private int referenceType;
- private int sharedQualifier;
- private IASTExpression blockSizeExpression;
-
-
- public IASTExpression getBlockSizeExpression() {
- return blockSizeExpression;
- }
-
- public int getReferenceType() {
- return referenceType;
- }
-
- public int getSharedQualifier() {
- return sharedQualifier;
- }
-
- public void setBlockSizeExpression(IASTExpression expr) {
- this.blockSizeExpression = expr;
- }
-
- public void setReferenceType(int referenceType) {
- this.referenceType = referenceType;
- }
-
- public void setSharedQualifier(int shared) {
- this.sharedQualifier = shared;
- }
-
-
- public boolean accept( ASTVisitor action ){
- if( action.shouldVisitDeclSpecifiers ){
- switch( action.visit( this ) ){
- case ASTVisitor.PROCESS_ABORT : return false;
- case ASTVisitor.PROCESS_SKIP : return true;
- default : break;
- }
- }
- if( getName() != null ) if( !getName().accept( action ) ) return false;
- if( blockSizeExpression != null) if( !blockSizeExpression.accept( action ) ) return false;
-
- if( action.shouldVisitDeclSpecifiers ){
- switch( action.leave( this ) ){
- case ASTVisitor.PROCESS_ABORT : return false;
- case ASTVisitor.PROCESS_SKIP : return true;
- default : break;
- }
- }
- return true;
- }
-
-
-
-}
diff --git a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTEnumerationSpecifier.java b/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTEnumerationSpecifier.java
deleted file mode 100644
index b1864064bd..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTEnumerationSpecifier.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.internal.core.dom.parser.upc.ast;
-
-import org.eclipse.cdt.core.dom.ast.ASTVisitor;
-import org.eclipse.cdt.core.dom.ast.IASTExpression;
-import org.eclipse.cdt.core.dom.upc.ast.IUPCASTEnumerationSpecifier;
-import org.eclipse.cdt.internal.core.dom.parser.c.CASTEnumerationSpecifier;
-
-public class UPCASTEnumerationSpecifier extends CASTEnumerationSpecifier
- implements IUPCASTEnumerationSpecifier {
-
- private int referenceType;
- private int sharedQualifier;
- private IASTExpression blockSizeExpression;
-
-
- public IASTExpression getBlockSizeExpression() {
- return blockSizeExpression;
- }
-
- public int getReferenceType() {
- return referenceType;
- }
-
- public int getSharedQualifier() {
- return sharedQualifier;
- }
-
- public void setBlockSizeExpression(IASTExpression expr) {
- this.blockSizeExpression = expr;
- }
-
- public void setReferenceType(int referenceType) {
- this.referenceType = referenceType;
- }
-
- public void setSharedQualifier(int shared) {
- this.sharedQualifier = shared;
- }
-
- public boolean accept( ASTVisitor action ){
- if( action.shouldVisitDeclSpecifiers ){
- switch( action.visit( this ) ){
- case ASTVisitor.PROCESS_ABORT : return false;
- case ASTVisitor.PROCESS_SKIP : return true;
- default : break;
- }
- }
- if( getName() != null ) if( !getName().accept( action ) ) return false;
- if( blockSizeExpression != null) if( !blockSizeExpression.accept( action ) ) return false;
-
- IASTEnumerator[] etors = getEnumerators();
- for ( int i = 0; i < etors.length; i++ ) {
- if( !etors[i].accept( action ) ) return false;
- }
- if( action.shouldVisitDeclSpecifiers ){
- switch( action.leave( this ) ){
- case ASTVisitor.PROCESS_ABORT : return false;
- case ASTVisitor.PROCESS_SKIP : return true;
- default : break;
- }
- }
- return true;
- }
-
-}
diff --git a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTForallStatement.java b/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTForallStatement.java
deleted file mode 100644
index 9b6bd49f35..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTForallStatement.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.internal.core.dom.parser.upc.ast;
-
-import org.eclipse.cdt.core.dom.ast.ASTVisitor;
-import org.eclipse.cdt.core.dom.ast.IASTExpression;
-import org.eclipse.cdt.core.dom.ast.IASTStatement;
-import org.eclipse.cdt.core.dom.upc.ast.IUPCASTForallStatement;
-import org.eclipse.cdt.internal.core.dom.parser.c.CASTForStatement;
-
-public class UPCASTForallStatement extends CASTForStatement implements IUPCASTForallStatement {
-
- private IASTExpression affinity;
- private boolean affinityContinue;
-
-
- public boolean isAffinityContinue() {
- return affinityContinue;
- }
-
- public IASTExpression getAffinityExpresiion() {
- return affinity;
- }
-
- public void setAffinityExpression(IASTExpression affinity) {
- if(affinity != null)
- this.affinityContinue = false;
- this.affinity = affinity;
- }
-
- public void setAffinityContinue(boolean affinityContinue) {
- if(affinityContinue)
- this.affinity = null;
- this.affinityContinue = affinityContinue;
- }
-
-
- public boolean accept(ASTVisitor visitor) {
- if(visitor.shouldVisitStatements) {
- switch(visitor.visit(this)){
- case ASTVisitor.PROCESS_ABORT : return false;
- case ASTVisitor.PROCESS_SKIP : return true;
- }
- }
-
- IASTStatement initializer = super.getInitializerStatement();
- if(initializer != null) if(!initializer.accept(visitor)) return false;
-
- IASTExpression condition = super.getConditionExpression();
- if(condition != null) if(!condition.accept(visitor)) return false;
-
- IASTExpression iteration = super.getIterationExpression();
- if(iteration != null) if(!iteration.accept(visitor)) return false;
-
- if(affinity != null) if(!affinity.accept(visitor)) return false;
-
- IASTStatement body = super.getBody();
- if(body != null) if(!body.accept(visitor)) return false;
-
- if(visitor.shouldVisitStatements) {
- switch(visitor.leave(this)){
- case ASTVisitor.PROCESS_ABORT : return false;
- case ASTVisitor.PROCESS_SKIP : return true;
- }
- }
-
- return true;
- }
-
-}
diff --git a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTKeywordExpression.java b/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTKeywordExpression.java
deleted file mode 100644
index 5d2ed7e110..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTKeywordExpression.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.internal.core.dom.parser.upc.ast;
-
-import org.eclipse.cdt.core.dom.ast.ASTVisitor;
-import org.eclipse.cdt.core.dom.ast.IBasicType;
-import org.eclipse.cdt.core.dom.ast.IType;
-import org.eclipse.cdt.core.dom.upc.ast.IUPCASTKeywordExpression;
-import org.eclipse.cdt.internal.core.dom.parser.c.CASTNode;
-import org.eclipse.cdt.internal.core.dom.parser.c.CBasicType;
-
-public class UPCASTKeywordExpression extends CASTNode implements IUPCASTKeywordExpression {
-
-
- private int keywordKind;
-
- public int getKeywordKind() {
- return keywordKind;
- }
-
- public void setKeywordKind(int kind) {
- this.keywordKind = kind;
-
- }
-
- public IType getExpressionType() {
- return new CBasicType(IBasicType.t_int, 0, this);
- }
-
-
- public boolean accept(ASTVisitor visitor) {
- if(visitor.shouldVisitExpressions) {
- switch(visitor.visit(this)) {
- case ASTVisitor.PROCESS_ABORT : return false;
- case ASTVisitor.PROCESS_SKIP : return true;
- }
- }
- if(visitor.shouldVisitExpressions) {
- switch(visitor.leave(this)) {
- case ASTVisitor.PROCESS_ABORT : return false;
- case ASTVisitor.PROCESS_SKIP : return true;
- }
- }
- return true;
- }
-
-}
diff --git a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTLayoutQualifier.java b/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTLayoutQualifier.java
deleted file mode 100644
index 66b955eb09..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTLayoutQualifier.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.internal.core.dom.parser.upc.ast;
-
-import org.eclipse.cdt.core.dom.ast.IASTExpression;
-import org.eclipse.cdt.core.dom.upc.ast.IUPCASTLayoutQualifier;
-
-public class UPCASTLayoutQualifier implements IUPCASTLayoutQualifier {
-
-
- private boolean isPure;
- private boolean isIndefinite;
- private IASTExpression blockSizeExpression;
-
-
- public IASTExpression getBlockSizeExpression() {
- return blockSizeExpression;
- }
-
-
- public boolean isIndefiniteBlockAllocation() {
- return isIndefinite;
- }
-
-
- public boolean isPureBlockAllocation() {
- return isPure;
- }
-
-
- public void setBlockSizeExpression(IASTExpression expr) {
- this.blockSizeExpression = expr;
- }
-
-
- public void setIndefiniteBlockAllocation(boolean allocation) {
- this.isIndefinite = allocation;
-
- }
-
-
- public void setPureBlockAllocation(boolean allocation) {
- this.isPure = allocation;
- }
-
-
-
-}
diff --git a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTSimpleDeclSpecifier.java b/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTSimpleDeclSpecifier.java
deleted file mode 100644
index 42f64d9db4..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTSimpleDeclSpecifier.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.internal.core.dom.parser.upc.ast;
-
-import org.eclipse.cdt.core.dom.ast.ASTVisitor;
-import org.eclipse.cdt.core.dom.ast.IASTExpression;
-import org.eclipse.cdt.core.dom.upc.ast.IUPCASTSimpleDeclSpecifier;
-import org.eclipse.cdt.internal.core.dom.parser.c.CASTSimpleDeclSpecifier;
-
-public class UPCASTSimpleDeclSpecifier extends CASTSimpleDeclSpecifier
- implements IUPCASTSimpleDeclSpecifier {
-
- private int referenceType;
- private int sharedQualifier;
- private IASTExpression blockSizeExpression;
-
-
- public IASTExpression getBlockSizeExpression() {
- return blockSizeExpression;
- }
-
- public int getReferenceType() {
- return referenceType;
- }
-
- public int getSharedQualifier() {
- return sharedQualifier;
- }
-
- public void setBlockSizeExpression(IASTExpression expr) {
- this.blockSizeExpression = expr;
- }
-
- public void setReferenceType(int referenceType) {
- this.referenceType = referenceType;
- }
-
- public void setSharedQualifier(int shared) {
- this.sharedQualifier = shared;
- }
-
-
- public boolean accept( ASTVisitor action ){
- if( action.shouldVisitDeclSpecifiers ){
- switch( action.visit( this ) ){
- case ASTVisitor.PROCESS_ABORT : return false;
- case ASTVisitor.PROCESS_SKIP : return true;
- default : break;
- }
- }
- if( blockSizeExpression != null) if( !blockSizeExpression.accept( action ) ) return false;
-
- if( action.shouldVisitDeclSpecifiers ){
- switch( action.leave( this ) ){
- case ASTVisitor.PROCESS_ABORT : return false;
- case ASTVisitor.PROCESS_SKIP : return true;
- default : break;
- }
- }
- return true;
- }
-
-}
diff --git a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTSizeofExpression.java b/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTSizeofExpression.java
deleted file mode 100644
index 766a92db06..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTSizeofExpression.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.internal.core.dom.parser.upc.ast;
-
-import org.eclipse.cdt.core.dom.ast.IASTUnaryExpression;
-import org.eclipse.cdt.core.dom.upc.ast.IUPCASTSizeofExpression;
-import org.eclipse.cdt.internal.core.dom.parser.c.CASTUnaryExpression;
-
-public class UPCASTSizeofExpression extends CASTUnaryExpression implements IUPCASTSizeofExpression {
-
- // TODO: don't really know if extending CASTUnaryExpression is the right thing to do
- private int upcSizeofOperator;
-
-
- public int getOperator() {
- return IASTUnaryExpression.op_sizeof;
- }
-
-
- public void setUPCSizeofOperator(int upcSizeofOperator) {
- this.upcSizeofOperator = upcSizeofOperator;
- }
-
-
- public int getUPCSizeofOperator() {
- return upcSizeofOperator;
- }
-
-
-}
diff --git a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTSynchronizationStatement.java b/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTSynchronizationStatement.java
deleted file mode 100644
index 7a7e945e5b..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTSynchronizationStatement.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.internal.core.dom.parser.upc.ast;
-
-import org.eclipse.cdt.core.dom.ast.ASTVisitor;
-import org.eclipse.cdt.core.dom.ast.IASTExpression;
-import org.eclipse.cdt.core.dom.upc.ast.IUPCASTSynchronizationStatement;
-import org.eclipse.cdt.internal.core.dom.parser.c.CASTNode;
-
-public class UPCASTSynchronizationStatement extends CASTNode implements IUPCASTSynchronizationStatement {
-
- private int statmentKind;
- private IASTExpression barrierExpression = null;
-
- public IASTExpression getBarrierExpression() {
- return barrierExpression;
- }
-
- public int getStatementKind() {
- return statmentKind;
- }
-
- public void setBarrierExpression(IASTExpression expr) {
- this.barrierExpression = expr;
-
- }
-
- public void setStatementKind(int kind) {
- this.statmentKind = kind;
- }
-
-
- public boolean accept(ASTVisitor visitor) {
- if(visitor.shouldVisitStatements) {
- switch(visitor.visit(this)) {
- case ASTVisitor.PROCESS_ABORT : return false;
- case ASTVisitor.PROCESS_SKIP : return true;
- }
- }
-
- if(barrierExpression != null) {
- boolean abort = !barrierExpression.accept(visitor);
- if(abort)
- return false;
- }
-
- if(visitor.shouldVisitStatements) {
- switch(visitor.leave(this)) {
- case ASTVisitor.PROCESS_ABORT : return false;
- case ASTVisitor.PROCESS_SKIP : return true;
- }
- }
-
- return true;
- }
-} \ No newline at end of file
diff --git a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTTypedefNameSpecifier.java b/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTTypedefNameSpecifier.java
deleted file mode 100644
index 5955bbcbc0..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTTypedefNameSpecifier.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006, 2007 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.internal.core.dom.parser.upc.ast;
-
-import org.eclipse.cdt.core.dom.ast.ASTVisitor;
-import org.eclipse.cdt.core.dom.ast.IASTExpression;
-import org.eclipse.cdt.core.dom.upc.ast.IUPCASTTypedefNameSpecifier;
-import org.eclipse.cdt.internal.core.dom.parser.c.CASTTypedefNameSpecifier;
-
-public class UPCASTTypedefNameSpecifier extends CASTTypedefNameSpecifier
- implements IUPCASTTypedefNameSpecifier {
-
-
- private int referenceType;
- private int sharedQualifier;
- private IASTExpression blockSizeExpression;
-
-
- public IASTExpression getBlockSizeExpression() {
- return blockSizeExpression;
- }
-
- public int getReferenceType() {
- return referenceType;
- }
-
- public int getSharedQualifier() {
- return sharedQualifier;
- }
-
- public void setBlockSizeExpression(IASTExpression expr) {
- this.blockSizeExpression = expr;
- }
-
- public void setReferenceType(int referenceType) {
- this.referenceType = referenceType;
- }
-
- public void setSharedQualifier(int shared) {
- this.sharedQualifier = shared;
- }
-
-
- public boolean accept( ASTVisitor action ){
- if( action.shouldVisitDeclSpecifiers ){
- switch( action.visit( this ) ){
- case ASTVisitor.PROCESS_ABORT : return false;
- case ASTVisitor.PROCESS_SKIP : return true;
- default : break;
- }
- }
- if( getName() != null ) if( !getName().accept( action ) ) return false;
- if( blockSizeExpression != null) if( !blockSizeExpression.accept( action ) ) return false;
-
- if( action.shouldVisitDeclSpecifiers ){
- switch( action.leave( this ) ){
- case ASTVisitor.PROCESS_ABORT : return false;
- case ASTVisitor.PROCESS_SKIP : return true;
- default : break;
- }
- }
- return true;
- }
-
-}
diff --git a/upc/org.eclipse.cdt.core.parser.upc/templates/default-templates.properties b/upc/org.eclipse.cdt.core.parser.upc/templates/default-templates.properties
deleted file mode 100644
index a6b7229f61..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc/templates/default-templates.properties
+++ /dev/null
@@ -1,14 +0,0 @@
-###############################################################################
-# Copyright (c) 2007 IBM Corporation 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
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-
-
-forallLoop = upc_forall loop
-upcMaxBlocksize = UPC_MAX_BLOCKSIZE keyword
diff --git a/upc/org.eclipse.cdt.core.parser.upc/templates/default-templates.xml b/upc/org.eclipse.cdt.core.parser.upc/templates/default-templates.xml
deleted file mode 100644
index 65117135fd..0000000000
--- a/upc/org.eclipse.cdt.core.parser.upc/templates/default-templates.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-
-###############################################################################
-# Copyright (c) 2007 IBM Corporation 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
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-
--->
-
-<!-- NOTE TO TRANSLATOR:
-* This file should remain English as it produces compilable code.
--->
-
-<templates>
-
-<template
- name="upc_forall"
- description="%forallLoop"
- context="org.eclipse.cdt.ui.text.templates.c"
- id="org.eclipse.cdt.ui.text.templates.c.upc_forall"
- enabled="true">upc_forall (${var} = 0; ${var} &lt; THREADS; ${var}++; ${var}) {
- ${line_selection}${cursor}
-}</template>
-
-<template
- name="upc_max_blocksize"
- description="%upcMaxBlocksize"
- context="org.eclipse.cdt.ui.text.templates.c"
- id="org.eclipse.cdt.ui.text.templates.c.upc_max_blocksize"
- enabled="true">UPC_MAX_BLOCKSIZE</template>
-
-</templates>
-
- \ No newline at end of file
diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/.classpath b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/.classpath
deleted file mode 100644
index 7398f97e2d..0000000000
--- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry path="src" kind="src"/>
- <classpathentry path="org.eclipse.jdt.launching.JRE_CONTAINER" kind="con"/>
- <classpathentry path="org.eclipse.pde.core.requiredPlugins" kind="con"/>
- <classpathentry path="bin" kind="output"/>
-</classpath>
diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/.cvsignore b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/.cvsignore
deleted file mode 100644
index ba077a4031..0000000000
--- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-bin
diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/.project b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/.project
deleted file mode 100644
index ab9159afd4..0000000000
--- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.cdt.errorparsers.xlc.tests</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/META-INF/MANIFEST.MF b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/META-INF/MANIFEST.MF
deleted file mode 100644
index 9aea0bd0bb..0000000000
--- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,15 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: xlC Error Parser Tests Plug-in
-Bundle-SymbolicName: org.eclipse.cdt.errorparsers.xlc.tests
-Bundle-Version: 1.0.0
-Bundle-Activator: org.eclipse.cdt.errorparsers.xlc.tests.TestsPlugin
-Bundle-Localization: plugin
-Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
- org.eclipse.cdt.errorparsers.xlc,
- org.junit
-Eclipse-LazyStart: true
-Export-Package: org.eclipse.cdt.errorparsers.xlc.tests
-Bundle-ClassPath: .
-Bundle-Vendor: Eclipse.org
diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/about.html b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/about.html
deleted file mode 100644
index f8a1ce1840..0000000000
--- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/about.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"><head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>About</title></head>
-
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>July 24, 2006</p>
-<h3>License</h3>
-
-<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise
-indicated below, the Content is provided to you under the terms and conditions of the
-Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available
-at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-For purposes of the EPL, "Program" will mean the Content.</p>
-
-<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-being redistributed by another party ("Redistributor") and different terms and conditions may
-apply to your use of any object code in the Content. Check the Redistributor's license that was
-provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
-
-</body></html> \ No newline at end of file
diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/build.properties b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/build.properties
deleted file mode 100644
index 64ed0af057..0000000000
--- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/build.properties
+++ /dev/null
@@ -1,8 +0,0 @@
-bin.includes = META-INF/,\
- .
-jars.compile.order = org.eclipse.cdt.errorparsers.xlc.tests.jar
-src.includes = META-INF/,\
- build.properties,\
- .project,\
- .classpath
-source.. = src/
diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/plugin.xml b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/plugin.xml
deleted file mode 100644
index 2407ba6330..0000000000
--- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/plugin.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-<plugin>
-</plugin>
diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/AllXlcErrorParserTests.java b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/AllXlcErrorParserTests.java
deleted file mode 100644
index 72bcdaa7f5..0000000000
--- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/AllXlcErrorParserTests.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.errorparsers.xlc.tests;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-public class AllXlcErrorParserTests {
- public static void main(String[] args) {
- junit.textui.TestRunner.run(AllXlcErrorParserTests.suite());
- }
-
- public static Test suite() {
- TestSuite suite = new TestSuite(
- "Testsuite for xlc compiler error parser");
- //$JUnit-BEGIN$
- suite.addTestSuite(TestUndeclIdent.class);
- suite.addTestSuite(TestMissingArg.class);
- suite.addTestSuite(TestFloatingPoint.class);
- suite.addTestSuite(TestFuncArg.class);
- suite.addTestSuite(TestOperModi.class);
- suite.addTestSuite(TestConditional.class);
- suite.addTestSuite(TestSyntaxError.class);
- suite.addTestSuite(TestNoFuncProto.class);
- //$JUnit-END$
- return suite;
- }
-} \ No newline at end of file
diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestConditional.java b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestConditional.java
deleted file mode 100644
index 0da09d25f3..0000000000
--- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestConditional.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.cdt.errorparsers.xlc.tests;
-
-import org.eclipse.cdt.errorparsers.xlc.XlcErrorParser;
-
-import junit.framework.TestCase;
-
-
-public class TestConditional extends TestCase {
- String err_msg;
- /**
- * This function tests parseLine function of the
- * XlcErrorParser class. Informative message generated
- * by the xlc compiler is given as input for testing.
- */
- public void testparseLine()
- {
- XlcErrorParser aix = new XlcErrorParser();
- aix.parseLine(err_msg);
- assertEquals("temp8.c", aix.getFileName());
- assertEquals(12, aix.getLineNumber());
- assertEquals("I", aix.getSeverity());
- assertEquals(" The then branch of conditional is an empty statement.",aix.getMessage());
- }
- public TestConditional( String name)
- {
- super(name);
- err_msg = "\"temp8.c\", line 12.9: 1506-478 (I) " +
- "The then branch of conditional is an empty statement.";
- }
-} \ No newline at end of file
diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestFloatingPoint.java b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestFloatingPoint.java
deleted file mode 100644
index 0460d5e578..0000000000
--- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestFloatingPoint.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.cdt.errorparsers.xlc.tests;
-
-import org.eclipse.cdt.errorparsers.xlc.XlcErrorParser;
-
-import junit.framework.TestCase;
-
-
-public class TestFloatingPoint extends TestCase {
- String err_msg;
- /**
- * This function tests parseLine function of the
- * XlcErrorParser class. Error message generated by
- * xlc compiler with high severity (S) is given as
- * input for testing.
- */
- public void testparseLine()
- {
- XlcErrorParser aix = new XlcErrorParser();
- aix.parseLine(err_msg);
- assertEquals("temp9.c", aix.getFileName());
- assertEquals(11, aix.getLineNumber());
- assertEquals("S", aix.getSeverity());
- assertEquals(" Floating point constant 10.23.3 is not valid",
- aix.getMessage());
- }
- public TestFloatingPoint( String name)
- {
- super(name);
- err_msg = "\"temp9.c\", line 11.18: 1506-189 (S) " +
- "Floating point constant 10.23.3 is not valid";
- }
-} \ No newline at end of file
diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestFuncArg.java b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestFuncArg.java
deleted file mode 100644
index 96b42de224..0000000000
--- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestFuncArg.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.cdt.errorparsers.xlc.tests;
-
-import org.eclipse.cdt.errorparsers.xlc.XlcErrorParser;
-
-import junit.framework.TestCase;
-
-public class TestFuncArg extends TestCase {
- String err_msg;
- /**
- * This function tests parseLine function of the
- * XlcErrorParser class. Error message generated by
- * xlc compiler with high severity (S) is given as
- * input for testing.
- */
- public void testparseLine()
- {
- XlcErrorParser aix = new XlcErrorParser();
- aix.parseLine(err_msg);
- assertEquals("temp9.c", aix.getFileName());
- assertEquals(12, aix.getLineNumber());
- assertEquals("S", aix.getSeverity());
- assertEquals(" Function argument assignment between types " +
- "\"int\" and \"char*\" is not allowed.",
- aix.getMessage());
- }
- public TestFuncArg( String name)
- {
- super(name);
- err_msg = "\"temp9.c\", line 12.18: 1506-280 (S) " +
- "Function argument assignment between types " +
- "\"int\" and \"char*\" is not allowed.";
- }
-} \ No newline at end of file
diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestMissingArg.java b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestMissingArg.java
deleted file mode 100644
index bf2cb85eb1..0000000000
--- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestMissingArg.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.cdt.errorparsers.xlc.tests;
-
-import org.eclipse.cdt.errorparsers.xlc.XlcErrorParser;
-
-import junit.framework.TestCase;
-
-
-public class TestMissingArg extends TestCase {
- String err_msg;
- /**
- * This function tests parseLine function of the
- * XlcErrorParser class. Error message generated by
- * xlc compiler with medium severity (E) is given as
- * input for testing.
- */
- public void testparseLine()
- {
- XlcErrorParser aix = new XlcErrorParser();
- aix.parseLine(err_msg);
- assertEquals("temp8.c", aix.getFileName());
- assertEquals(9, aix.getLineNumber());
- assertEquals("E", aix.getSeverity());
- assertEquals(" Missing argument(s).",aix.getMessage());
- }
- public TestMissingArg( String name)
- {
- super(name);
- err_msg = "\"temp8.c\", line 9.17: 1506-098 (E) "
- + "Missing argument(s).";
- }
-} \ No newline at end of file
diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestNoFuncProto.java b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestNoFuncProto.java
deleted file mode 100644
index c8e66ad653..0000000000
--- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestNoFuncProto.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.errorparsers.xlc.tests;
-
-import org.eclipse.cdt.errorparsers.xlc.XlcErrorParser;
-
-import junit.framework.TestCase;
-
-public class TestNoFuncProto extends TestCase {
- String err_msg;
- /**
- * This function tests parseLine function of the
- * XlcErrorParser class. Warning message generated by
- * xlc compiler (W) is given as input for testing.
- */
- public void testparseLine()
- {
- XlcErrorParser aix = new XlcErrorParser();
- aix.parseLine(err_msg);
- assertEquals("temp1.c", aix.getFileName());
- assertEquals(5, aix.getLineNumber());
- assertEquals("W", aix.getSeverity());
- assertEquals(" No function prototype given for \"printf\".",aix.getMessage());
- }
- public TestNoFuncProto( String name)
- {
- super(name);
- err_msg = "\"temp1.c\", line 5.9: 1506-304 (W) "
- + "No function prototype given for \"printf\".";
- }
-} \ No newline at end of file
diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestOperModi.java b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestOperModi.java
deleted file mode 100644
index aac5e04c10..0000000000
--- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestOperModi.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.errorparsers.xlc.tests;
-
-import org.eclipse.cdt.errorparsers.xlc.XlcErrorParser;
-
-import junit.framework.TestCase;
-
-
-public class TestOperModi extends TestCase {
- String err_msg;
- /**
- * This function tests parseLine function of the
- * XlcErrorParser class. Error message generated by
- * xlc compiler with high severity (S) is given as
- * input for testing.
- */
- public void testparseLine()
- {
- XlcErrorParser aix = new XlcErrorParser();
- aix.parseLine(err_msg);
- assertEquals("temp9.c", aix.getFileName());
- assertEquals(13, aix.getLineNumber());
- assertEquals("S", aix.getSeverity());
- assertEquals(" Operand must be a modifiable lvalue.",aix.getMessage());
- }
- public TestOperModi( String name)
- {
- super(name);
- err_msg = "\"temp9.c\", line 13.9: 1506-025 (S) " +
- "Operand must be a modifiable lvalue.";
- }
-} \ No newline at end of file
diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestSyntaxError.java b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestSyntaxError.java
deleted file mode 100644
index d71de9a281..0000000000
--- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestSyntaxError.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.cdt.errorparsers.xlc.tests;
-
-import org.eclipse.cdt.errorparsers.xlc.XlcErrorParser;
-
-import junit.framework.TestCase;
-
-public class TestSyntaxError extends TestCase {
- String err_msg;
- /**
- * This function tests parseLine function of the
- * XlcErrorParser class. Error message generated by
- * xlc compiler with high severity (S) is given as
- * input for testing.
- */
- public void testparseLine()
- {
- XlcErrorParser aix = new XlcErrorParser();
- aix.parseLine(err_msg);
- assertEquals("temp1.c", aix.getFileName());
- assertEquals(5, aix.getLineNumber());
- assertEquals("S", aix.getSeverity());
- assertEquals(" Syntax error: possible missing ')'?",aix.getMessage());
- }
- public TestSyntaxError( String name)
- {
- super(name);
- err_msg = "\"temp1.c\", line 5.1: 1506-276 (S) "
- + "Syntax error: possible missing ')'?";
- }
-} \ No newline at end of file
diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestUndeclIdent.java b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestUndeclIdent.java
deleted file mode 100644
index d9ddcb0b67..0000000000
--- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestUndeclIdent.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.cdt.errorparsers.xlc.tests;
-
-import org.eclipse.cdt.errorparsers.xlc.XlcErrorParser;
-
-import junit.framework.TestCase;
-
-public class TestUndeclIdent extends TestCase {
- String err_msg;
- /**
- * This function tests parseLine function of the
- * XlcErrorParser class. Error message generated by
- * xlc compiler with high severity (S) is given as
- * input for testing.
- */
- public void testparseLine()
- {
- XlcErrorParser aix = new XlcErrorParser();
- aix.parseLine(err_msg);
- assertEquals("temp5.c", aix.getFileName());
- assertEquals(5, aix.getLineNumber());
- assertEquals("S", aix.getSeverity());
- assertEquals(" Undeclared identifier y.",aix.getMessage());
- }
- public TestUndeclIdent( String name)
- {
- super(name);
- err_msg = "\"temp5.c\", line 5.9: 1506-045 (S) " +
- "Undeclared identifier y.";
- }
-} \ No newline at end of file
diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestsPlugin.java b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestsPlugin.java
deleted file mode 100644
index f9d6b719eb..0000000000
--- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestsPlugin.java
+++ /dev/null
@@ -1,95 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006 IBM Corporation 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
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.cdt.errorparsers.xlc.tests;
-
-import org.eclipse.ui.plugin.*;
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.osgi.framework.BundleContext;
-import java.util.*;
-
-/**
- * The main plugin class to be used in the desktop.
- */
-public class TestsPlugin extends AbstractUIPlugin {
- //The shared instance.
- private static TestsPlugin plugin;
- //Resource bundle.
- private ResourceBundle resourceBundle;
-
- /**
- * The constructor.
- */
- public TestsPlugin() {
- super();
- plugin = this;
- }
-
- /**
- * This method is called upon plug-in activation
- */
- public void start(BundleContext context) throws Exception {
- super.start(context);
- }
-
- /**
- * This method is called when the plug-in is stopped
- */
- public void stop(BundleContext context) throws Exception {
- super.stop(context);
- plugin = null;
- resourceBundle = null;
- }
-
- /**
- * Returns the shared instance.
- */
- public static TestsPlugin getDefault() {
- return plugin;
- }
-
- /**
- * Returns the string from the plugin's resource bundle,
- * or 'key' if not found.
- */
- public static String getResourceString(String key) {
- ResourceBundle bundle = TestsPlugin.getDefault().getResourceBundle();
- try {
- return (bundle != null) ? bundle.getString(key) : key;
- } catch (MissingResourceException e) {
- return key;
- }
- }
-
- /**
- * Returns the plugin's resource bundle,
- */
- public ResourceBundle getResourceBundle() {
- try {
- if (resourceBundle == null)
- resourceBundle = ResourceBundle.getBundle("org.eclipse.cdt.errorparsers.xlc.tests.TestsPluginResources");
- } catch (MissingResourceException x) {
- resourceBundle = null;
- }
- return resourceBundle;
- }
-
- /**
- * Returns an image descriptor for the image file at the given
- * plug-in relative path.
- *
- * @param path the path
- * @return the image descriptor
- */
- public static ImageDescriptor getImageDescriptor(String path) {
- return AbstractUIPlugin.imageDescriptorFromPlugin("org.eclipse.cdt.errorparsers.xlc.tests", path);
- }
-}

Back to the top