summaryrefslogtreecommitdiffstats
path: root/src/syntaxParser/java_cup/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntaxParser/java_cup/runtime')
-rw-r--r--src/syntaxParser/java_cup/runtime/Scanner.java25
-rw-r--r--src/syntaxParser/java_cup/runtime/Symbol.java25
-rw-r--r--src/syntaxParser/java_cup/runtime/lr_parser.java25
-rw-r--r--src/syntaxParser/java_cup/runtime/virtual_parse_stack.java23
4 files changed, 87 insertions, 11 deletions
diff --git a/src/syntaxParser/java_cup/runtime/Scanner.java b/src/syntaxParser/java_cup/runtime/Scanner.java
index 3233551..1d1c071 100644
--- a/src/syntaxParser/java_cup/runtime/Scanner.java
+++ b/src/syntaxParser/java_cup/runtime/Scanner.java
@@ -1,12 +1,31 @@
+/*
+ * This file is part of %PACKAGENAME%.
+ *
+ * %PACKAGENAME% is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of
+ * the License, or (at your option) any later version.
+ *
+ * %PACKAGENAME% is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * For more information please see <http://www.%PACKAGENAME%.org>
+ * or contact Peter Baumann via <baumann@rasdaman.com>.
+ *
+ * Copyright 2009 Jacobs University Bremen, Peter Baumann.
+ */
+
package java_cup.runtime;
/**
* Defines the Scanner interface, which CUP uses in the default
* implementation of <code>lr_parser.scan()</code>. Integration
* of scanners implementing <code>Scanner</code> is facilitated.
- *
- * @version last updated 23-Jul-1999
- * @author David MacMahon <davidm@smartsc.com>
*/
/* *************************************************
diff --git a/src/syntaxParser/java_cup/runtime/Symbol.java b/src/syntaxParser/java_cup/runtime/Symbol.java
index eeb6a0b..5bb94d9 100644
--- a/src/syntaxParser/java_cup/runtime/Symbol.java
+++ b/src/syntaxParser/java_cup/runtime/Symbol.java
@@ -1,12 +1,31 @@
+/*
+ * This file is part of %PACKAGENAME%.
+ *
+ * %PACKAGENAME% is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of
+ * the License, or (at your option) any later version.
+ *
+ * %PACKAGENAME% is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * For more information please see <http://www.%PACKAGENAME%.org>
+ * or contact Peter Baumann via <baumann@rasdaman.com>.
+ *
+ * Copyright 2009 Jacobs University Bremen, Peter Baumann.
+ */
+
package java_cup.runtime;
/**
* Defines the Symbol class, which is used to represent all terminals
* and nonterminals while parsing. The lexer should pass CUP Symbols
* and CUP returns a Symbol.
- *
- * @version last updated: 7/3/96
- * @author Frank Flannery
*/
/* ****************************************************************
diff --git a/src/syntaxParser/java_cup/runtime/lr_parser.java b/src/syntaxParser/java_cup/runtime/lr_parser.java
index 3c8335c..3ba17a9 100644
--- a/src/syntaxParser/java_cup/runtime/lr_parser.java
+++ b/src/syntaxParser/java_cup/runtime/lr_parser.java
@@ -1,4 +1,25 @@
-
+/*
+ * This file is part of %PACKAGENAME%.
+ *
+ * %PACKAGENAME% is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of
+ * the License, or (at your option) any later version.
+ *
+ * %PACKAGENAME% is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * For more information please see <http://www.%PACKAGENAME%.org>
+ * or contact Peter Baumann via <baumann@rasdaman.com>.
+ *
+ * Copyright 2009 Jacobs University Bremen, Peter Baumann.
+ */
+
package java_cup.runtime;
import java.util.Stack;
@@ -108,8 +129,6 @@ import java.util.Stack;
* @see java_cup.runtime.Symbol
* @see java_cup.runtime.Symbol
* @see java_cup.runtime.virtual_parse_stack
- * @version last updated: 7/3/96
- * @author Frank Flannery
*/
public abstract class lr_parser {
diff --git a/src/syntaxParser/java_cup/runtime/virtual_parse_stack.java b/src/syntaxParser/java_cup/runtime/virtual_parse_stack.java
index a4386aa..2cc297a 100644
--- a/src/syntaxParser/java_cup/runtime/virtual_parse_stack.java
+++ b/src/syntaxParser/java_cup/runtime/virtual_parse_stack.java
@@ -1,3 +1,24 @@
+/*
+ * This file is part of %PACKAGENAME%.
+ *
+ * %PACKAGENAME% is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of
+ * the License, or (at your option) any later version.
+ *
+ * %PACKAGENAME% is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with %PACKAGENAME%. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * For more information please see <http://www.%PACKAGENAME%.org>
+ * or contact Peter Baumann via <baumann@rasdaman.com>.
+ *
+ * Copyright 2009 Jacobs University Bremen, Peter Baumann.
+ */
package java_cup.runtime;
@@ -15,8 +36,6 @@ import java.util.Stack;
* state is maintained on the virtual stack, not full Symbol objects.
*
* @see java_cup.runtime.lr_parser
- * @version last updated: 7/3/96
- * @author Frank Flannery
*/
public class virtual_parse_stack {