pike.git / src / docode.c

version» Context lines:

pike.git/src/docode.c:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: docode.c,v 1.44 1999/02/10 01:29:05 hubbe Exp $"); + RCSID("$Id: docode.c,v 1.45 1999/03/11 13:44:27 hubbe Exp $");   #include "las.h"   #include "program.h"   #include "language.h"   #include "pike_types.h"   #include "stralloc.h"   #include "interpret.h"   #include "constants.h"   #include "array.h"   #include "pike_macros.h"   #include "error.h"
pike.git/src/docode.c:230:    if(flags & DO_LVALUE_IF_POSSIBLE)    {    flags|=DO_INDIRECT;    flags &=~DO_LVALUE_IF_POSSIBLE;    }else{    flags &=~DO_INDIRECT;    }       switch(n->token)    { +  case F_MAGIC_INDEX: +  case F_MAGIC_SET_INDEX: +  emit(F_LDA, n->u.node.a->u.sval.u.integer); +  emit(n->token, n->u.node.b->u.sval.u.integer); +  return 1; +     case F_EXTERNAL:    emit(F_LDA, n->u.integer.a);    if(flags & WANT_LVALUE)    {    emit(F_EXTERNAL_LVALUE, n->u.integer.b);    return 2;    }else{    emit(F_EXTERNAL, n->u.integer.b);    return 1;    }