Branch: Tag:

2018-12-19

2018-12-19 12:11:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>

LFUNs: Added magic lfun ::_annotations().

965:    case F_MAGIC_INDICES:    case F_MAGIC_VALUES:    case F_MAGIC_TYPES: +  case F_MAGIC_ANNOTATIONS:    {    int e;    struct program_state *state = Pike_compiler;
4173:    /* FIXME: Could have a stricter type for ::_types. */    MAKE_CONSTANT_TYPE(n->type, tF_MAGIC_TYPES);    break; +  case F_MAGIC_ANNOTATIONS: +  /* FIXME: Could have a stricter type for ::_annotations. */ +  MAKE_CONSTANT_TYPE(n->type, tF_MAGIC_ANNOTATIONS); +  break;       case F_CATCH:    /* FALLTHRU */