From 2a2b0931f9b29bf372136451d317eb81649424e2 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 30 Sep 2018 21:21:40 +0100 Subject: i18n: i18n-diff-auditor: fix multi-arg handling Signed-off-by: Ian Jackson --- i18n-diff-auditor | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'i18n-diff-auditor') diff --git a/i18n-diff-auditor b/i18n-diff-auditor index e8c86fe..61f877e 100755 --- a/i18n-diff-auditor +++ b/i18n-diff-auditor @@ -267,9 +267,11 @@ sub analyse_chunk_core () { } $next_y->(); if (!$bras and - (grep { $y->{E} eq $_ } qw( or xor and not ; : ) + (grep { $y->{E} eq $_ } qw( or xor and not ; : , ) or $y->{T} eq 'ket' )) { + # lookahead shows close of containing scope + # or lower precedence operator unshift @ys, $y; last; } -- cgit v1.2.3