ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/JSON-XS/XS.xs
(Generate patch)

Comparing JSON-XS/XS.xs (file contents):
Revision 1.111 by root, Wed Jul 27 15:53:40 2011 UTC vs.
Revision 1.112 by root, Thu Aug 11 17:06:53 2011 UTC

1994 (unsigned long)self->incr_pos, (unsigned long)self->max_size); 1994 (unsigned long)self->incr_pos, (unsigned long)self->max_size);
1995 1995
1996 if (!INCR_DONE (self)) 1996 if (!INCR_DONE (self))
1997 { 1997 {
1998 // as an optimisation, do not accumulate white space in the incr buffer 1998 // as an optimisation, do not accumulate white space in the incr buffer
1999 if (self->incr_mode == INCR_M_WS) 1999 if (self->incr_mode == INCR_M_WS && self->incr_pos)
2000 {
2001 self->incr_pos = 0;
2000 SvCUR_set (self->incr_text, 0); 2002 SvCUR_set (self->incr_text, 0);
2003 }
2001 2004
2002 break; 2005 break;
2003 } 2006 }
2004 } 2007 }
2005 2008

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines