From 3422ca8a8a7a0870e416a54b9bd00f1c2cd70173 Mon Sep 17 00:00:00 2001 From: Alexandru Simion Date: Tue, 14 Apr 2009 21:28:53 +0200 Subject: Changed headers - added LGPL boilerplate text and removed unnecessary headers --- src/java_cup/runtime/Scanner.java | 25 ++++++++++++++++++++++--- src/java_cup/runtime/Symbol.class | Bin 1364 -> 1364 bytes src/java_cup/runtime/Symbol.java | 25 ++++++++++++++++++++++--- src/java_cup/runtime/lr_parser.class | Bin 12335 -> 12335 bytes src/java_cup/runtime/lr_parser.java | 25 ++++++++++++++++++++++--- src/java_cup/runtime/virtual_parse_stack.class | Bin 1856 -> 1856 bytes src/java_cup/runtime/virtual_parse_stack.java | 23 +++++++++++++++++++++-- 7 files changed, 87 insertions(+), 11 deletions(-) (limited to 'src/java_cup/runtime') diff --git a/src/java_cup/runtime/Scanner.java b/src/java_cup/runtime/Scanner.java index 3233551..1d1c071 100644 --- a/src/java_cup/runtime/Scanner.java +++ b/src/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 . + * + * For more information please see + * or contact Peter Baumann via . + * + * Copyright 2009 Jacobs University Bremen, Peter Baumann. + */ + package java_cup.runtime; /** * Defines the Scanner interface, which CUP uses in the default * implementation of lr_parser.scan(). Integration * of scanners implementing Scanner is facilitated. - * - * @version last updated 23-Jul-1999 - * @author David MacMahon */ /* ************************************************* diff --git a/src/java_cup/runtime/Symbol.class b/src/java_cup/runtime/Symbol.class index 0d96da9..763648c 100644 Binary files a/src/java_cup/runtime/Symbol.class and b/src/java_cup/runtime/Symbol.class differ diff --git a/src/java_cup/runtime/Symbol.java b/src/java_cup/runtime/Symbol.java index eeb6a0b..5bb94d9 100644 --- a/src/java_cup/runtime/Symbol.java +++ b/src/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 . + * + * For more information please see + * or contact Peter Baumann via . + * + * 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/java_cup/runtime/lr_parser.class b/src/java_cup/runtime/lr_parser.class index 521178b..6450385 100644 Binary files a/src/java_cup/runtime/lr_parser.class and b/src/java_cup/runtime/lr_parser.class differ diff --git a/src/java_cup/runtime/lr_parser.java b/src/java_cup/runtime/lr_parser.java index 3c8335c..3ba17a9 100644 --- a/src/java_cup/runtime/lr_parser.java +++ b/src/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 . + * + * For more information please see + * or contact Peter Baumann via . + * + * 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/java_cup/runtime/virtual_parse_stack.class b/src/java_cup/runtime/virtual_parse_stack.class index 1228873..b58fa9a 100644 Binary files a/src/java_cup/runtime/virtual_parse_stack.class and b/src/java_cup/runtime/virtual_parse_stack.class differ diff --git a/src/java_cup/runtime/virtual_parse_stack.java b/src/java_cup/runtime/virtual_parse_stack.java index a4386aa..2cc297a 100644 --- a/src/java_cup/runtime/virtual_parse_stack.java +++ b/src/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 . + * + * For more information please see + * or contact Peter Baumann via . + * + * 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 { -- cgit