summaryrefslogtreecommitdiffstats
path: root/src/java_cup/simple_calc
diff options
context:
space:
mode:
Diffstat (limited to 'src/java_cup/simple_calc')
-rw-r--r--src/java_cup/simple_calc/Main.java22
-rw-r--r--src/java_cup/simple_calc/parser.cup22
-rw-r--r--src/java_cup/simple_calc/parser.java21
-rw-r--r--src/java_cup/simple_calc/scanner.java22
-rw-r--r--src/java_cup/simple_calc/sym.java21
5 files changed, 108 insertions, 0 deletions
diff --git a/src/java_cup/simple_calc/Main.java b/src/java_cup/simple_calc/Main.java
index 21ff5aa..2eaabf2 100644
--- a/src/java_cup/simple_calc/Main.java
+++ b/src/java_cup/simple_calc/Main.java
@@ -1,3 +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.
+ */
+
// Driver for parser
package java_cup.simple_calc;
diff --git a/src/java_cup/simple_calc/parser.cup b/src/java_cup/simple_calc/parser.cup
index a88d900..eeddbd9 100644
--- a/src/java_cup/simple_calc/parser.cup
+++ b/src/java_cup/simple_calc/parser.cup
@@ -1,3 +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.
+ */
+
// JavaCup specification for a simple expression evaluator (w/ actions)
package java_cup.simple_calc;
diff --git a/src/java_cup/simple_calc/parser.java b/src/java_cup/simple_calc/parser.java
index d6003c7..cf08b71 100644
--- a/src/java_cup/simple_calc/parser.java
+++ b/src/java_cup/simple_calc/parser.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.
+ */
//----------------------------------------------------
// The following code was generated by CUP v0.10k
diff --git a/src/java_cup/simple_calc/scanner.java b/src/java_cup/simple_calc/scanner.java
index f8f850a..e0fa483 100644
--- a/src/java_cup/simple_calc/scanner.java
+++ b/src/java_cup/simple_calc/scanner.java
@@ -1,3 +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.
+ */
+
// Simple Example Scanner Class
package java_cup.simple_calc;
diff --git a/src/java_cup/simple_calc/sym.java b/src/java_cup/simple_calc/sym.java
index 2584f2f..53e6378 100644
--- a/src/java_cup/simple_calc/sym.java
+++ b/src/java_cup/simple_calc/sym.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.
+ */
//----------------------------------------------------
// The following code was generated by CUP v0.10k