Branch: Tag:

2002-04-02

2002-04-02 16:29:46 by Martin Nilsson <mani@lysator.liu.se>

Always return the result up to this moment.

Rev: lib/modules/Parser.pmod/Pike.pmod:1.19

4:   //   // #pike __REAL_VERSION__   // - // $Id: Pike.pmod,v 1.18 2002/03/20 16:59:01 nilsson Exp $ + // $Id: Pike.pmod,v 1.19 2002/04/02 16:29:46 nilsson Exp $      inherit "C.pmod";   
45:    if(pos==-1) {    state->in_token = 1;    state->remains += data[..sizeof(data)-2]; -  return ({}); +  return ret;    }    ret += ({ state->remains + data[..pos] });    m_delete(state, "remains");
63:    (s==sizeof(data)-2 && s<q) ) {    state->in_token = 1;    state->remains += data[..sizeof(data)-2]; -  return ({}); +  return ret;    }       if(s==-1 || s>q) {
106:    if(state) {    state->in_token = 1;    state->remains = data[pos-1..sizeof(data)-2]; -  return ({}); +  return ret;    }    error("Failed to find end of multiline string.\n");    }