diff --git a/misc/translator/text-extract2.pl b/misc/translator/text-extract2.pl index 274f21f5b9..4fbcbb278f 100755 --- a/misc/translator/text-extract2.pl +++ b/misc/translator/text-extract2.pl @@ -97,6 +97,7 @@ sub next_token_internal (*) { # FIXME the following (the [<\s] part) is an unreliable HACK :-( } elsif ($readahead =~ /^(?:[^<]|<[<\s])+/s) { # non-space normal text ($kind, $it, $readahead) = (KIND_TEXT, $&, $'); + warn "Warning: Unescaped < in line $lc: $it\n" if $it =~ /