[Templates-cvs] cvs commit: TT3/lib/Template/TT3/Tag Escape.pm

cvs@template-toolkit.org cvs@template-toolkit.org
Mon, 15 Dec 2003 17:32:14 +0000


cvs         03/12/15 17:32:13

  Modified:    lib/Template/TT3/Tag Escape.pm
  Log:
  * changed parameters of scan() method
  
  Revision  Changes    Path
  1.2       +2 -2      TT3/lib/Template/TT3/Tag/Escape.pm
  
  Index: Escape.pm
  ===================================================================
  RCS file: /template-toolkit/TT3/lib/Template/TT3/Tag/Escape.pm,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Escape.pm	2003/12/11 15:12:48	1.1
  +++ Escape.pm	2003/12/15 17:32:12	1.2
  @@ -17,7 +17,7 @@
   #   modify it under the same terms as Perl itself.
   #
   # REVISION
  -#   $Id: Escape.pm,v 1.1 2003/12/11 15:12:48 abw Exp $
  +#   $Id: Escape.pm,v 1.2 2003/12/15 17:32:12 abw Exp $
   #
   #========================================================================
   
  @@ -29,7 +29,7 @@
   use vars qw( $VERSION $DEBUG $ERROR $WARNING $TAG $ESCAPE $RANGE );
   use base qw( Template::TT3::Tag );
   
  -$VERSION = sprintf("%d.%02d", q$Revision: 1.1 $ =~ /(\d+)\.(\d+)/);
  +$VERSION = sprintf("%d.%02d", q$Revision: 1.2 $ =~ /(\d+)\.(\d+)/);
   $DEBUG   = 0 unless defined $DEBUG;
   $ERROR   = '';
   $ESCAPE  = qr/\\/;      # backslash is escape character, e.g. \$foo
  @@ -68,7 +68,7 @@
   }
   
   sub scan {
  -    my ($self, $start, $textref, $document) = @_;
  +    my ($self, $textref, $document, $start) = @_;
   
       $self->debug("scanned escape: $start\n") if $DEBUG;
       $start =~ s/$self->{ strip }//;
  @@ -106,7 +106,7 @@
   
   =head1 VERSION
   
  -$Revision: 1.1 $
  +$Revision: 1.2 $
   
   =head1 COPYRIGHT