aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-01-04 15:01:20 +0000
committerJonathan Wakely <jwakely@redhat.com>2024-01-05 13:57:05 +0000
commit29abd09a744970bf2b93d078bad9946899ef2b05 (patch)
tree45460ca72c81796cad9ac306bb89fac4cc7d3642
parent1bc9eddb801b9d052bde22bf9381d0b385b10e96 (diff)
downloadgcc-29abd09a744970bf2b93d078bad9946899ef2b05.zip
gcc-29abd09a744970bf2b93d078bad9946899ef2b05.tar.gz
gcc-29abd09a744970bf2b93d078bad9946899ef2b05.tar.bz2
contrib: Remove C-style comments from Python files
These Python scripts have "*/" at the end of the license header comment blocks, presumably copy&pasted from C files. contrib/ChangeLog: * analyze_brprob.py: Remove stray text at end of comment. * analyze_brprob_spec.py: Likewise. * check-params-in-docs.py: Likewise. * check_GNU_style.py: Likewise. * check_GNU_style_lib.py: Likewise. * filter-clang-warnings.py: Likewise. * gcc-changelog/git_check_commit.py: Likewise. * gcc-changelog/git_commit.py: Likewise. * gcc-changelog/git_email.py: Likewise. * gcc-changelog/git_repository.py: Likewise. * gcc-changelog/git_update_version.py: Likewise. * gcc-changelog/test_email.py: Likewise. * gen_autofdo_event.py: Likewise. * mark_spam.py: Likewise. * unicode/gen-box-drawing-chars.py: Likewise. * unicode/gen-combining-chars.py: Likewise. * unicode/gen-printable-chars.py: Likewise. * unicode/gen_wcwidth.py: Likewise.
-rwxr-xr-xcontrib/analyze_brprob.py2
-rwxr-xr-xcontrib/analyze_brprob_spec.py2
-rwxr-xr-xcontrib/check-params-in-docs.py2
-rwxr-xr-xcontrib/check_GNU_style.py2
-rwxr-xr-xcontrib/check_GNU_style_lib.py2
-rwxr-xr-xcontrib/filter-clang-warnings.py2
-rwxr-xr-xcontrib/gcc-changelog/git_check_commit.py2
-rwxr-xr-xcontrib/gcc-changelog/git_commit.py2
-rwxr-xr-xcontrib/gcc-changelog/git_email.py2
-rwxr-xr-xcontrib/gcc-changelog/git_repository.py2
-rwxr-xr-xcontrib/gcc-changelog/git_update_version.py2
-rwxr-xr-xcontrib/gcc-changelog/test_email.py2
-rwxr-xr-xcontrib/gen_autofdo_event.py2
-rwxr-xr-xcontrib/mark_spam.py2
-rwxr-xr-xcontrib/unicode/gen-box-drawing-chars.py2
-rwxr-xr-xcontrib/unicode/gen-combining-chars.py2
-rwxr-xr-xcontrib/unicode/gen-printable-chars.py2
-rwxr-xr-xcontrib/unicode/gen_wcwidth.py2
18 files changed, 18 insertions, 18 deletions
diff --git a/contrib/analyze_brprob.py b/contrib/analyze_brprob.py
index a482b5a..ca42fa6 100755
--- a/contrib/analyze_brprob.py
+++ b/contrib/analyze_brprob.py
@@ -18,7 +18,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
#
#
#
diff --git a/contrib/analyze_brprob_spec.py b/contrib/analyze_brprob_spec.py
index 0ec5541..b8af7b9 100755
--- a/contrib/analyze_brprob_spec.py
+++ b/contrib/analyze_brprob_spec.py
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
import sys
import os
diff --git a/contrib/check-params-in-docs.py b/contrib/check-params-in-docs.py
index 5da7a60..623c822 100755
--- a/contrib/check-params-in-docs.py
+++ b/contrib/check-params-in-docs.py
@@ -19,7 +19,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
#
#
#
diff --git a/contrib/check_GNU_style.py b/contrib/check_GNU_style.py
index 55e49a0..6b946a5 100755
--- a/contrib/check_GNU_style.py
+++ b/contrib/check_GNU_style.py
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
import argparse
import sys
diff --git a/contrib/check_GNU_style_lib.py b/contrib/check_GNU_style_lib.py
index 9f5851c..f1a120f 100755
--- a/contrib/check_GNU_style_lib.py
+++ b/contrib/check_GNU_style_lib.py
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
#
# The script requires python packages, which can be installed via pip3
# like this:
diff --git a/contrib/filter-clang-warnings.py b/contrib/filter-clang-warnings.py
index eb14c56..6ae2a90 100755
--- a/contrib/filter-clang-warnings.py
+++ b/contrib/filter-clang-warnings.py
@@ -18,7 +18,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
#
#
#
diff --git a/contrib/gcc-changelog/git_check_commit.py b/contrib/gcc-changelog/git_check_commit.py
index 86a2105..8cca9f4 100755
--- a/contrib/gcc-changelog/git_check_commit.py
+++ b/contrib/gcc-changelog/git_check_commit.py
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
import argparse
diff --git a/contrib/gcc-changelog/git_commit.py b/contrib/gcc-changelog/git_commit.py
index 282f526..87bec4e 100755
--- a/contrib/gcc-changelog/git_commit.py
+++ b/contrib/gcc-changelog/git_commit.py
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
import difflib
import os
diff --git a/contrib/gcc-changelog/git_email.py b/contrib/gcc-changelog/git_email.py
index 2f94816..9d8e44e 100755
--- a/contrib/gcc-changelog/git_email.py
+++ b/contrib/gcc-changelog/git_email.py
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
import os
import re
diff --git a/contrib/gcc-changelog/git_repository.py b/contrib/gcc-changelog/git_repository.py
index f61c521..03ec38c 100755
--- a/contrib/gcc-changelog/git_repository.py
+++ b/contrib/gcc-changelog/git_repository.py
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
from datetime import datetime
diff --git a/contrib/gcc-changelog/git_update_version.py b/contrib/gcc-changelog/git_update_version.py
index dd73a5b..92639ba 100755
--- a/contrib/gcc-changelog/git_update_version.py
+++ b/contrib/gcc-changelog/git_update_version.py
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
import argparse
import datetime
diff --git a/contrib/gcc-changelog/test_email.py b/contrib/gcc-changelog/test_email.py
index 5b8c0be..57247f3 100755
--- a/contrib/gcc-changelog/test_email.py
+++ b/contrib/gcc-changelog/test_email.py
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
import os
import tempfile
diff --git a/contrib/gen_autofdo_event.py b/contrib/gen_autofdo_event.py
index 8c0ef8b..4c20194 100755
--- a/contrib/gen_autofdo_event.py
+++ b/contrib/gen_autofdo_event.py
@@ -15,7 +15,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
# Run it with perf record -b -e EVENT program ...
# The Linux Kernel needs to support the PMU of the current CPU, and
diff --git a/contrib/mark_spam.py b/contrib/mark_spam.py
index 9bed790..393d362 100755
--- a/contrib/mark_spam.py
+++ b/contrib/mark_spam.py
@@ -18,7 +18,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
#
#
#
diff --git a/contrib/unicode/gen-box-drawing-chars.py b/contrib/unicode/gen-box-drawing-chars.py
index 9a55266..09a9d1d 100755
--- a/contrib/unicode/gen-box-drawing-chars.py
+++ b/contrib/unicode/gen-box-drawing-chars.py
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
import unicodedata
diff --git a/contrib/unicode/gen-combining-chars.py b/contrib/unicode/gen-combining-chars.py
index fb5ef50..9f9365c 100755
--- a/contrib/unicode/gen-combining-chars.py
+++ b/contrib/unicode/gen-combining-chars.py
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
from pprint import pprint
import unicodedata
diff --git a/contrib/unicode/gen-printable-chars.py b/contrib/unicode/gen-printable-chars.py
index 7684c08..2d4ed4e 100755
--- a/contrib/unicode/gen-printable-chars.py
+++ b/contrib/unicode/gen-printable-chars.py
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
from pprint import pprint
import unicodedata
diff --git a/contrib/unicode/gen_wcwidth.py b/contrib/unicode/gen_wcwidth.py
index aa8d8b2..6628ea5 100755
--- a/contrib/unicode/gen_wcwidth.py
+++ b/contrib/unicode/gen_wcwidth.py
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
import sys
import os