From: Ian Jackson Date: Sun, 30 Sep 2018 23:33:01 +0000 (+0100) Subject: i18n: i18n-diff-auditor: add two simple cases X-Git-Tag: archive/debian/7.0_pre1~52 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=bd3cfed8b53deac624154d63659719bc935138bd;p=dgit.git i18n: i18n-diff-auditor: add two simple cases Signed-off-by: Ian Jackson --- diff --git a/i18n-diff-auditor b/i18n-diff-auditor index 8ec5e9f4..c3630b64 100755 --- a/i18n-diff-auditor +++ b/i18n-diff-auditor @@ -210,6 +210,8 @@ sub analyse_chunk_core () { $next_x->(); $next_y->(); next if $x->{E} eq $y->{E}; + next if $x->{E} eq 'sprintf' and $y->{E} eq 'f_'; + next if $x->{E} eq 'die' and $y->{E} eq 'confess'; if ($y->{E} eq '+' and @ys >= 3 and $ys[0]{E} eq '('