Branch: Tag:

1998-09-28

1998-09-28 22:30:15 by Henrik Grubbström (Grubba) <grubba@grubba.org>

check_indexing() didn't know about indexing of programs.

Rev: src/pike_types.c:1.46

4:   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: pike_types.c,v 1.45 1998/08/19 07:37:59 hubbe Exp $"); + RCSID("$Id: pike_types.c,v 1.46 1998/09/28 22:30:15 grubba Exp $");   #include <ctype.h>   #include "svalue.h"   #include "pike_types.h"
1428:    case T_MAPPING:    return !!low_match_types(type,index_type,0);    +  case T_PROGRAM: +  // FIXME: Should check that the index is a string. +  return 1; +     case T_MIXED:    return 1;