Replacement for diagnostics linter

Jeff Law law@redhat.com
Tue Apr 30 16:18:00 GMT 2019


On 4/25/19 11:29 AM, Roland Illig wrote:
> There's a linter in contrib/check-internal-format-escaping.py that
> checks whether the base file for translations (such as French or German)
> conform to some basic style rules. This mostly affects the diagnostics
> emitted by GCC.
> 
> As the German translation I have added several checks to the linter and
> added rationales to most of the checks.
> 
> Since I completely rewrote the linter, it's more convenient to not look
> at the patch but only the rewritten code. Therefore I've provided both
> of them.
> 
> See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90117.
> See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90119.
> See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90176.
> 
> Thoughts?
> 
Given that Martin L is on board (he wrote the original linter), my
recommendation would be to go with your updated linter.

I'll commit it shortly.

jeff



More information about the Gcc-patches mailing list