Branch: Tag:

1999-12-29

1999-12-29 19:20:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added types for F_MAGIC_INDEX and F_MAGIC_SET_INDEX.

Rev: src/las.c:1.154

5:   \*/   /**/   #include "global.h" - RCSID("$Id: las.c,v 1.153 1999/12/29 18:02:00 grubba Exp $"); + RCSID("$Id: las.c,v 1.154 1999/12/29 19:20:32 grubba Exp $");      #include "language.h"   #include "interpret.h"
2607:    break;       case F_MAGIC_INDEX: +  /* FIXME: Could have a stricter type for ::`->(). */ +  MAKE_CONSTANT_SHARED_STRING(n->type, tFunc(tMix,tMix)); +  break;    case F_MAGIC_SET_INDEX: -  +  /* FIXME: Could have a stricter type for ::`->=(). */ +  MAKE_CONSTANT_SHARED_STRING(n->type, tFunc(tMix tSetvar(0,tMix), tVar(0))); +  break; +     case F_CATCH: -  /* FIXME: FALL_THROUGH */ +  /* FALL_THROUGH */    default:    copy_shared_string(n->type,mixed_type_string);    }