[Templates-cvs] cvs commit: TT3/lib/Template Tag.pm
cvs@template-toolkit.org
cvs@template-toolkit.org
Wed, 01 Dec 2004 11:09:51 +0000
cvs 04/12/01 11:09:50
Modified: lib/Template Tag.pm
Log:
* added end token to $match
Revision Changes Path
1.6 +4 -3 TT3/lib/Template/Tag.pm
Index: Tag.pm
===================================================================
RCS file: /template-toolkit/TT3/lib/Template/Tag.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- Tag.pm 2004/11/18 13:34:57 1.5
+++ Tag.pm 2004/12/01 11:09:50 1.6
@@ -16,7 +16,7 @@
# modify it under the same terms as Perl itself.
#
# REVISION
-# $Id: Tag.pm,v 1.5 2004/11/18 13:34:57 abw Exp $
+# $Id: Tag.pm,v 1.6 2004/12/01 11:09:50 abw Exp $
#
#========================================================================
@@ -28,7 +28,7 @@
use Template::Base;
use base qw( Template::Base );
-our $VERSION = sprintf("%d.%02d", q$Revision: 1.5 $ =~ /(\d+)\.(\d+)/);
+our $VERSION = sprintf("%d.%02d", q$Revision: 1.6 $ =~ /(\d+)\.(\d+)/);
our $DEBUG = 0 unless defined $DEBUG;
our $ERROR = '';
our $TAG = {
@@ -83,6 +83,7 @@
# save match info locally to make protect re-entrancy
local $self->{ match } = $match;
$match->{ lines } = 0;
+ $match->{ end } = $self->{ end };
$handler->line($match->{ line });
@@ -850,7 +851,7 @@
=head1 VERSION
-$Revision: 1.5 $
+$Revision: 1.6 $
=head1 COPYRIGHT