Branch: Tag:

2002-04-15

2002-04-15 12:23:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Oops, fixed a few typos.

Rev: src/encode.c:1.92

25:   #include "version.h"   #include "bignum.h"    - RCSID("$Id: encode.c,v 1.91 2002/04/15 11:54:39 grubba Exp $"); + RCSID("$Id: encode.c,v 1.92 2002/04/15 12:23:28 grubba Exp $");      /* #define ENCODE_DEBUG */   
792:    Pike_sp[-1].subtype=p->inherits[d].parent_identifier;    Pike_sp[-1].type=T_FUNCTION;    EDB(3,fprintf(stderr,"INHERIT%x coded as func { %p, %d }\n", -  p->id, p->inherits[d].parent, p->inherits[d].parent_iden - tifier);); +  p->id, p->inherits[d].parent, p->inherits[d].parent_identifier););    }else if(p->inherits[d].prog){    ref_push_program(p->inherits[d].prog);    }else{
1155: Inside #if 0
   encode_value2(&str_sval, data);       /* prog */ -  if (inh->prog) { +     ref_push_program(inh->prog); -  } else { -  push_int(0); -  Pike_sp[-1].subtype = NUMBER_UNDEFINED; -  } +     encode_value2(Pike_sp-1, data);    pop_stack();       /* parent */ -  +  if (inh->prog) {    ref_push_object(inh->parent); -  +  } else { +  push_int(0); +  Pike_sp[-1].subtype = NUMBER_UNDEFINED; +  }    encode_value2(Pike_sp-1, data);    pop_stack();