[tmcode commit] r302 - spine/branches/spine_2_2-devel/lib/Spine/Plugin

0 views
Skip to first unread message

oss...@gmail.com

unread,
Nov 20, 2009, 7:31:47 AM11/20/09
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);

Reply all
Reply to author
Forward
0 new messages