pike.git / src / pike_types.c

version» Context lines:

pike.git/src/pike_types.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: pike_types.c,v 1.245 2005/03/21 21:35:29 grubba Exp $ + || $Id: pike_types.c,v 1.246 2005/04/06 17:38:15 grubba Exp $   */      #include "global.h"   #include <ctype.h>   #include "svalue.h"   #include "pike_types.h"   #include "stralloc.h"   #include "stuff.h"   #include "array.h"   #include "program.h"
pike.git/src/pike_types.c:3737:    push_finished_type(index1_type);    else    push_type (T_ZERO);    push_type(T_FUNCTION);    call_type = pop_unfinished_type();       if((tmp = check_call(call_type, ID_FROM_INT(p, i)->type, 0))) {    free_type(call_type);    return tmp;    } +  free_type(call_type);       add_ref(mixed_type_string);    return mixed_type_string;    }       if((i = FIND_LFUN(p, LFUN_INDEX)) != -1)    {    /* FIXME: Should check for a _sizeof operator if from-the-end    * indexing is done. */   
pike.git/src/pike_types.c:3773:    push_finished_type(index1_type);    else    push_type (T_ZERO);    push_type(T_FUNCTION);    call_type = pop_unfinished_type();       if((tmp = check_call(call_type, ID_FROM_INT(p, i)->type, 0))) {    free_type(call_type);    return tmp;    } +  free_type(call_type);       add_ref(mixed_type_string);    return mixed_type_string;    }       yywarning("Ranging object without index operator.");    return 0;    }    if (lex.pragmas & ID_STRICT_TYPES) {    yywarning("Ranging generic object.");