pike.git / src / interpret_functions.h

version» Context lines:

pike.git/src/interpret_functions.h:1:   /* -  * $Id: interpret_functions.h,v 1.31 2000/08/24 04:04:41 hubbe Exp $ +  * $Id: interpret_functions.h,v 1.32 2000/09/25 23:41:33 hubbe Exp $    *    * Opcode definitions for the interpreter.    */      OPCODE0(F_UNDEFINED,"push UNDEFINED")    push_int(0);    Pike_sp[-1].subtype=NUMBER_UNDEFINED;   BREAK;      OPCODE0(F_CONST0, "push 0")
pike.git/src/interpret_functions.h:1416:    CASE(F_CALL_FUNCTION);    mega_apply(APPLY_STACK,    DO_NOT_WARN(Pike_sp - *--Pike_mark_sp),    0,0);    break;       CASE(F_CALL_FUNCTION_AND_RETURN);    {    INT32 args = DO_NOT_WARN(Pike_sp - *--Pike_mark_sp);    if(!args) -  PIKE_ERROR("`()", "Too few arguments.\n", Pike_sp, 0); +  PIKE_ERROR("`()", "Too few arguments (call&return).\n", Pike_sp, 0);    switch(Pike_sp[-args].type)    {    case PIKE_T_INT:    if (!Pike_sp[-args].u.integer) {    PIKE_ERROR("`()", "Attempt to call the NULL-value\n",    Pike_sp, args);    }    case PIKE_T_STRING:    case PIKE_T_FLOAT:    case PIKE_T_MAPPING: