/[suikacvs]/messaging/manakai/lib/Message/DOM/XMLParser.dis
Suika

Diff of /messaging/manakai/lib/Message/DOM/XMLParser.dis

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by wakaba, Sat Jan 21 16:28:13 2006 UTC revision 1.7 by wakaba, Sat Jan 21 17:37:51 2006 UTC
# Line 286  ClsDef: Line 286  ClsDef:
286          if (@{$self->{char}}) {          if (@{$self->{char}}) {
287            $r = shift @{$self->{char}};            $r = shift @{$self->{char}};
288          } else {          } else {
289              no warnings 'substr';
290                ## substr outside length warnings at the end of the string
291            GETCHAR: {            GETCHAR: {
292              my $char = substr (${$self->{entity}->[-1]->{reptxt}},              my $char = substr (${$self->{entity}->[-1]->{reptxt}},
293                                 $self->{entity}->[-1]->{pos}, 1);                                 $self->{entity}->[-1]->{pos}, 1);
294              $self->{entity}->[-1]->{pos}++;              $self->{entity}->[-1]->{pos}++;
295    
296              if (length $char) {              if (defined $char and length $char) {
297                $r = ord $char;                $r = ord $char;
298                if ($r == 0x000A) {                if ($r == 0x000A) {
299                  $self->{entity}->[-1]->{line}++;                  $self->{entity}->[-1]->{line}++;

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24