]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
contrib: Remove C-style comments from Python files
authorJonathan Wakely <jwakely@redhat.com>
Thu, 4 Jan 2024 15:01:20 +0000 (15:01 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 5 Jan 2024 13:57:05 +0000 (13:57 +0000)
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.

18 files changed:
contrib/analyze_brprob.py
contrib/analyze_brprob_spec.py
contrib/check-params-in-docs.py
contrib/check_GNU_style.py
contrib/check_GNU_style_lib.py
contrib/filter-clang-warnings.py
contrib/gcc-changelog/git_check_commit.py
contrib/gcc-changelog/git_commit.py
contrib/gcc-changelog/git_email.py
contrib/gcc-changelog/git_repository.py
contrib/gcc-changelog/git_update_version.py
contrib/gcc-changelog/test_email.py
contrib/gen_autofdo_event.py
contrib/mark_spam.py
contrib/unicode/gen-box-drawing-chars.py
contrib/unicode/gen-combining-chars.py
contrib/unicode/gen-printable-chars.py
contrib/unicode/gen_wcwidth.py

index a482b5a18d2eb2f79382a829321a2cb351f36122..ca42fa6a6c26262a1a5d7f0a5848c28209cfdd5c 100755 (executable)
@@ -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/>.
 #
 #
 #
index 0ec55419e75819d9e48102d4156a52720010b838..b8af7b9e6a57db19adecbbb9c47ee97bc3780b4f 100755 (executable)
@@ -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
index 5da7a60f4b55c0e4f07e27babc72ba3de0f51b0b..623c82284e26c62e79796d620d83a3f78d13e5df 100755 (executable)
@@ -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/>.
 #
 #
 #
index 55e49a09191a52be88ab8404d154c6e0661cca86..6b946a5bc3610b8ef70ba372ea800f892eeac85b 100755 (executable)
@@ -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
index 9f5851c271f83ee0508168c6d03e919e77fd0367..f1a120fa8d3555f90062295f9750c4ac936e7056 100755 (executable)
@@ -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:
index eb14c56cc647daf48ba24d64e5449f99104b6d22..6ae2a90404728ca67e63355a08f8fb4f1d0ab583 100755 (executable)
@@ -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/>.
 #
 #
 #
index 86a2105b573d981221463d13a93ee406336c604c..8cca9f439a585b3b21b37fb9a7a3464ddf62ad91 100755 (executable)
@@ -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
 
index 282f526a6c98c1375ae8bc0c665c2c1230c63e29..87bec4e00f56557b384d0647ef4206b4012369b2 100755 (executable)
@@ -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
index 2f94816af563d9650dd946ff53f464fb8f20a53c..9d8e44e429def97ea7079faf432d581189f5aa06 100755 (executable)
@@ -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
index f61c521d1c236e40da477b0a28c1deeab167d903..03ec38c2cea8b477af1d60556905435426d3ebeb 100755 (executable)
@@ -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
 
index dd73a5b08324013a18abb28febde7e399b3bff04..92639ba626fda453f85af2d78bffc3ea0a82a709 100755 (executable)
@@ -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
index 5b8c0beeace67ae9add5b9b19a3cdfea779548be..57247f34b92656135f171aa7c99514d12f7a27c1 100755 (executable)
@@ -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
index 8c0ef8bb1df578d3162443ac1bcb0031bf7f66eb..4c201943b5c7095cf50b47144fe7dcc31f964daf 100755 (executable)
@@ -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
index 9bed7902e26acabc986f51630c4203733bfe418c..393d36217990a83e76f1639beb0d89dfac659605 100755 (executable)
@@ -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/>.
 #
 #
 #
index 9a55266ab8432d8b58651376c8afb8652b66a01b..09a9d1d01650ee5af7861983eb2ec88bc852d464 100755 (executable)
@@ -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
 
index fb5ef50ba4cad5ef46d101d08d7a6daa5736d5d9..9f9365ca0a234845cb6a2de318c34cd48f02d397 100755 (executable)
@@ -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
index 7684c086638bb59a72920e3256fd8a211d3c15ef..2d4ed4eed7bc596eb4011a460619b2b54ab4a321 100755 (executable)
@@ -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
index aa8d8b2cfd2490c614127ac3ea78756544f83a57..6628ea5c8e61d4295d84a6c9817b06ca675583cb 100755 (executable)
@@ -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