Skip to content

Commit

Permalink
contrib: Remove C-style comments from Python files
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jwakely committed Jan 5, 2024
1 parent 1bc9edd commit 29abd09
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion contrib/analyze_brprob.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/>.
#
#
#
Expand Down
2 changes: 1 addition & 1 deletion contrib/analyze_brprob_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion contrib/check-params-in-docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/>.
#
#
#
Expand Down
2 changes: 1 addition & 1 deletion contrib/check_GNU_style.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion contrib/check_GNU_style_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion contrib/filter-clang-warnings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/>.
#
#
#
Expand Down
2 changes: 1 addition & 1 deletion contrib/gcc-changelog/git_check_commit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion contrib/gcc-changelog/git_commit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion contrib/gcc-changelog/git_email.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion contrib/gcc-changelog/git_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion contrib/gcc-changelog/git_update_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion contrib/gcc-changelog/test_email.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion contrib/gen_autofdo_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion contrib/mark_spam.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/>.
#
#
#
Expand Down
2 changes: 1 addition & 1 deletion contrib/unicode/gen-box-drawing-chars.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion contrib/unicode/gen-combining-chars.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion contrib/unicode/gen-printable-chars.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion contrib/unicode/gen_wcwidth.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 29abd09

Please sign in to comment.