From 050e1995d9ea2cc85be13ab843ceb5c88c8b3f57 Mon Sep 17 00:00:00 2001 From: acli Date: Sat, 14 Feb 2004 09:10:20 +0000 Subject: [PATCH] Minor change to make the "closed start tag" warning more understandable --- misc/translator/text-extract2.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/translator/text-extract2.pl b/misc/translator/text-extract2.pl index b256015389..a00dd956f8 100755 --- a/misc/translator/text-extract2.pl +++ b/misc/translator/text-extract2.pl @@ -168,7 +168,7 @@ sub next_token_internal (*) { } elsif ($readahead =~ /^$re_tag_compat/os) { ($kind, $it, $readahead) = (KIND_TAG, "$1>", $3); $ok_p = 1; - warn "Warning: SGML \"closed start tag\" notation near line $lc_0: $1$2\n" if $2 eq ''; + warn "Warning: SGML \"closed start tag\" notation near line $lc_0: $1<\n" if $2 eq ''; } elsif ($readahead =~ /^).)*-->/s) { ($kind, $it, $readahead) = (KIND_COMMENT, $&, $'); $ok_p = 1; -- 2.39.2