Branch: Tag:

1998-03-01

1998-03-01 11:40:47 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

better type checking implemented (and a bug in the type checking fixed)

Rev: src/builtin_functions.c:1.76
Rev: src/docode.c:1.33
Rev: src/las.c:1.55
Rev: src/operators.c:1.28
Rev: src/pike_types.c:1.34
Rev: src/program.c:1.65
Rev: src/stralloc.c:1.28
Rev: src/svalue.h:1.13

4:   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: docode.c,v 1.32 1998/02/27 18:16:44 hubbe Exp $"); + RCSID("$Id: docode.c,v 1.33 1998/03/01 11:40:46 hubbe Exp $");   #include "las.h"   #include "program.h"   #include "language.h"
671:    if(n->type == void_type_string) return 0;    return 1;    }else{ -  if(CAR(n)->u.sval.u.object->next == fake_object) +  if(CAR(n)->u.sval.u.object == fake_object)    {    emit2(F_MARK);    do_docode(CDR(n),0);