[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/misc/translator text-extract2.pl,1.27,1.28
From: |
Ambrose Li |
Subject: |
[Koha-cvs] CVS: koha/misc/translator text-extract2.pl,1.27,1.28 |
Date: |
Sat, 14 Feb 2004 01:10:22 -0800 |
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, $&, $');
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/misc/translator text-extract2.pl,1.27,1.28,
Ambrose Li <=