pike.git / src / las.c

version» Context lines:

pike.git/src/las.c:958:    if(b) res->tree_info |= b->tree_info;    break;       case F_MAGIC_SET_INDEX:    res->node_info |= OPT_ASSIGNMENT;    /* FALLTHRU */    case F_MAGIC_INDEX:    case F_MAGIC_INDICES:    case F_MAGIC_VALUES:    case F_MAGIC_TYPES: +  case F_MAGIC_ANNOTATIONS:    {    int e;    struct program_state *state = Pike_compiler;    res->node_info |= OPT_EXTERNAL_DEPEND;    if (!b) break; /* Paranoia; probably compiler error. */    for(e=0;e<b->u.sval.u.integer;e++)    {    state->new_program->flags |= PROGRAM_USES_PARENT | PROGRAM_NEEDS_PARENT;    state=state->previous;    }
pike.git/src/las.c:4166:    MAKE_CONSTANT_TYPE(n->type, tF_MAGIC_INDICES);    break;    case F_MAGIC_VALUES:    /* FIXME: Could have a stricter type for ::_values. */    MAKE_CONSTANT_TYPE(n->type, tF_MAGIC_VALUES);    break;    case F_MAGIC_TYPES:    /* 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 */    default:    copy_pike_type(n->type, mixed_type_string);    }       if (n->type != old_type) {    if (n->parent) {    n->parent->node_info |= OPT_TYPE_NOT_FIXED;