… | |
… | |
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 | |