[Koha-cvs] CVS: koha/misc/translator text-extract2.pl,1.27,1.28

Ambrose Li acli at users.sourceforge.net
Sat Feb 14 10:10:22 CET 2004


Update of /cvsroot/koha/koha/misc/translator
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2698

Modified Files:
	text-extract2.pl 
Log Message:
Minor change to make the "closed start tag" warning more understandable


Index: text-extract2.pl
===================================================================
RCS file: /cvsroot/koha/koha/misc/translator/text-extract2.pl,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -r1.27 -r1.28
*** text-extract2.pl	14 Feb 2004 08:49:21 -0000	1.27
--- text-extract2.pl	14 Feb 2004 09:10:20 -0000	1.28
***************
*** 169,173 ****
  		($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 '';
  	    } elsif ($readahead =~ /^<!--(?:(?!-->).)*-->/s) {
  		($kind, $it, $readahead) = (KIND_COMMENT, $&, $');
--- 169,173 ----
  		($kind, $it, $readahead) = (KIND_TAG, "$1>", $3);
  		$ok_p = 1;
! 		warn "Warning: SGML \"closed start tag\" notation near line $lc_0: $1<\n" if $2 eq '';
  	    } elsif ($readahead =~ /^<!--(?:(?!-->).)*-->/s) {
  		($kind, $it, $readahead) = (KIND_COMMENT, $&, $');





More information about the Koha-cvs mailing list