diff options
Diffstat (limited to 'i18n-diff-auditor')
-rwxr-xr-x | i18n-diff-auditor | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |