/[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.31 by wakaba, Fri Mar 10 10:52:03 2006 UTC revision 1.32 by wakaba, Sat Mar 11 12:12:38 2006 UTC
# Line 714  ClsDef: Line 714  ClsDef:
714            GETCHAR: {            GETCHAR: {
715              no warnings 'closed'; # getc() on closed filehandle warning              no warnings 'closed'; # getc() on closed filehandle warning
716              my $ent = $self->{entity}->[-1];              my $ent = $self->{entity}->[-1];
717              my $char = getc $ent->{fh};              my $char = $ent->{fh}->getc;
718    
719              if (defined $char and length $char) {              if (defined $char and length $char) {
720                $ent->{pos}++;                $ent->{pos}++;
# Line 723  ClsDef: Line 723  ClsDef:
723                  $ent->{line}++;                  $ent->{line}++;
724                  $ent->{column} = 1;                  $ent->{column} = 1;
725                } elsif ($r == 0x000D) {                } elsif ($r == 0x000D) {
726                  my $next_char = getc $ent->{fh};                  my $next_char = $ent->{fh}->getc;
727                  if ($next_char eq "\x0A") {                  if ($next_char eq "\x0A") {
728                    if ($ent->{is_external_entity}) {                    if ($ent->{is_external_entity}) {
729                      $ent->{pos}++;                      $ent->{pos}++;

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24