Transformation of contrib/check_GNU_style.sh to a python script

Tom de Vries Tom_deVries@mentor.com
Mon May 15 14:42:00 GMT 2017


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



More information about the Gcc mailing list