oss...@gmail.com
unread,Nov 20, 2009, 7:31:47 AM11/20/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to tmcode...@googlegroups.com
Author: richard
Date: Fri Nov 20 04:31:46 2009
New Revision: 302
Log:
Committing changes that were make to trunk within Spine::Data but in 2.2-devel the methods have moved to Spine::Plugin::Templates, this commit is required ready to issue full merge of of this plugin.
Currently the pureTT parse items can not me merged as they don't translate cleanly into parselets. c_lame_keys is also not merged as a warning already exists in this code.
Modified:
spine/branches/spine_2_2-devel/lib/Spine/Plugin/Templates.pm
Modified: spine/branches/spine_2_2-devel/lib/Spine/Plugin/Templates.pm
==============================================================================
--- spine/branches/spine_2_2-devel/lib/Spine/Plugin/Templates.pm Fri Nov 20 04:12:36 2009 (r301)
+++ spine/branches/spine_2_2-devel/lib/Spine/Plugin/Templates.pm Fri Nov 20 04:31:46 2009 (r302)
@@ -75,7 +75,7 @@
sub _convert_to_TT {
my $data = shift;
my $legacy = 0;
- while ( $data->{obj} =~ m/(\[%(\s*)(IF|MATCH|ELSIF)\s+(.+?)%\])/sog ) {
+ while ( $data->{obj} =~ m/(\[%(\s*)(IF|MATCH|ELSIF)\s+(.+?)%\])/sg ) {
my $new_pos = pos($data->{obj}); # This is the pos of the end of match
my $data_length = length($1);