This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Transformation of contrib/check_GNU_style.sh to a python script
- From: Tom de Vries <Tom_deVries at mentor dot com>
- To: Martin Liška <mliska at suse dot cz>, GCC Development <gcc at gcc dot gnu dot org>
- Cc: Martin Sebor <msebor at gmail dot com>
- Date: Mon, 15 May 2017 16:42:23 +0200
- Subject: Re: Transformation of contrib/check_GNU_style.sh to a python script
- Authentication-results: sourceware.org; auth=none
- References: <e871583b-30a6-9c01-52fa-504d8ead0fdc@suse.cz>
On 05/15/2017 03:55 PM, Martin Liška wrote:
... check_GNU_style.sh script. The script works
quite fine, but it's very unpleasant that it reports problematic lines in the patch,
not in original patches.
Agreed.
I decided to substitute part of functionality by Python
script that uses a library that parses patches. So that reported errors can be
easily converted to quickfix list for VIM. That makes navigation very easy.
I'm attaching simple version that I made in couple of minutes and I would like to
ask whether the bash script is broadly used
I use it regularly.
and whether community would be interested
in transformation of the script?
I think it's a good idea.
Thanks,
- Tom