public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Martin Liska <marxin@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r14-339] contrib: port doxygen script to Python3 Date: Fri, 28 Apr 2023 14:42:28 +0000 (GMT) [thread overview] Message-ID: <20230428144228.DC74C38582AB@sourceware.org> (raw) https://gcc.gnu.org/g:db7e7776b0f5ac2a0e803b197f7b2b8a35f14d8a commit r14-339-gdb7e7776b0f5ac2a0e803b197f7b2b8a35f14d8a Author: Martin Liska <mliska@suse.cz> Date: Fri Apr 28 16:41:19 2023 +0200 contrib: port doxygen script to Python3 contrib/ChangeLog: * filter_gcc_for_doxygen: Use python3 and not python2. * filter_params.py: Likewise. Diff: --- contrib/filter_gcc_for_doxygen | 2 +- contrib/filter_params.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/filter_gcc_for_doxygen b/contrib/filter_gcc_for_doxygen index d1109a50c88..d3670604b01 100755 --- a/contrib/filter_gcc_for_doxygen +++ b/contrib/filter_gcc_for_doxygen @@ -8,5 +8,5 @@ # process is put on stdout. dir=`dirname $0` -python $dir/filter_params.py $1 +env python3 $dir/filter_params.py $1 exit 0 diff --git a/contrib/filter_params.py b/contrib/filter_params.py index a82a8d5728c..359d28b07d2 100644 --- a/contrib/filter_params.py +++ b/contrib/filter_params.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 """ Filters out some of the #defines used throughout the GCC sources: - GTY(()) marks declarations for gengtype.c
reply other threads:[~2023-04-28 14:42 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230428144228.DC74C38582AB@sourceware.org \ --to=marxin@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).