[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] maint.mk: sc_unmarked_diagnostics: don't hard-code "error"
From: |
Jim Meyering |
Subject: |
Re: [PATCH] maint.mk: sc_unmarked_diagnostics: don't hard-code "error" |
Date: |
Sat, 04 Jun 2011 22:24:42 +0200 |
Jim Meyering wrote:
> In diffutils I wanted to check for unmarked diagnostics
> emitted by functions other than "error" (the name hard-coded
> into the sc_unmarked_diagnostics rule). I've generalized that
> rule so now diffutils can do this:
>
> _gl_translatable_diag_func_re = (error|(perror_)?fatal|pfatal_with_name)
>
> With that, the new sc_unmarked_diagnostics rule found 35 unmarked diagnostics.
For the record, most of those were already translated,
in spite of not being explicitly marked, so I may not use
this feature in diffutils after all.