Branch: Tag:

1999-11-25

1999-11-25 00:56:27 by Fredrik H├╝binette (Hubbe) <hubbe@hubbe.net>

stricter typechecking implemented

Rev: src/language.yacc:1.137
Rev: src/las.c:1.132
Rev: src/pike_types.c:1.74
Rev: src/svalue.h:1.40
Rev: src/testsuite.in:1.239

184:   /* This is the grammar definition of Pike. */      #include "global.h" - RCSID("$Id: language.yacc,v 1.136 1999/11/23 03:06:35 grubba Exp $"); + RCSID("$Id: language.yacc,v 1.137 1999/11/25 00:56:22 hubbe Exp $");   #ifdef HAVE_MEMORY_H   #include <memory.h>   #endif
995:    | /* empty */    {    push_type(T_MIXED); +  push_type(T_VOID); +  push_type(T_OR); +     push_type(T_MIXED); -  +  push_type(T_VOID); +  push_type(T_OR); +     push_type(T_MANY);    }    ;