diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/java/org/anarres/cpp/Feature.java | 19 | ||||
-rw-r--r-- | src/java/org/anarres/cpp/Main.java | 2 | ||||
-rw-r--r-- | src/java/org/anarres/cpp/Warning.java | 19 | ||||
-rwxr-xr-x[-rw-r--r--] | src/scripts/jcpp (renamed from src/scripts/cpp.sh) | 0 |
4 files changed, 39 insertions, 1 deletions
diff --git a/src/java/org/anarres/cpp/Feature.java b/src/java/org/anarres/cpp/Feature.java index a27df59..fe647c8 100644 --- a/src/java/org/anarres/cpp/Feature.java +++ b/src/java/org/anarres/cpp/Feature.java @@ -1,3 +1,22 @@ +/* + * Anarres C Preprocessor + * Copyright (C) 2007 Shevek + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + package org.anarres.cpp; public enum Feature { diff --git a/src/java/org/anarres/cpp/Main.java b/src/java/org/anarres/cpp/Main.java index c2a4dfb..56f5e19 100644 --- a/src/java/org/anarres/cpp/Main.java +++ b/src/java/org/anarres/cpp/Main.java @@ -75,7 +75,7 @@ public class Main { "Adds the directory dir to the list of directories to be searched for header files."), new Option("warning", LongOpt.REQUIRED_ARGUMENT, 'W', "type", "Enables the named warning class (" + getWarnings() + ")."), - new Option("nowarnings", LongOpt.NO_ARGUMENT, 'w', null, + new Option("no-warnings", LongOpt.NO_ARGUMENT, 'w', null, "Disables ALL warnings."), new Option("version", LongOpt.NO_ARGUMENT, 'V', null, "Prints jcpp's version number (" + Version.getVersion() + ")"), diff --git a/src/java/org/anarres/cpp/Warning.java b/src/java/org/anarres/cpp/Warning.java index a6450fb..53badee 100644 --- a/src/java/org/anarres/cpp/Warning.java +++ b/src/java/org/anarres/cpp/Warning.java @@ -1,3 +1,22 @@ +/* + * Anarres C Preprocessor + * Copyright (C) 2007 Shevek + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + package org.anarres.cpp; public enum Warning { diff --git a/src/scripts/cpp.sh b/src/scripts/jcpp index ed167c5..ed167c5 100644..100755 --- a/src/scripts/cpp.sh +++ b/src/scripts/jcpp |