pike.git / src / interpret_functions.h

version» Context lines:

pike.git/src/interpret_functions.h:1:   /* -  * $Id: interpret_functions.h,v 1.63 2001/06/28 10:23:58 hubbe Exp $ +  * $Id: interpret_functions.h,v 1.64 2001/06/29 02:15:12 hubbe Exp $    *    * Opcode definitions for the interpreter.    */      #include "global.h"      OPCODE0(F_UNDEFINED,"push UNDEFINED")    push_int(0);    Pike_sp[-1].subtype=NUMBER_UNDEFINED;   BREAK;
pike.git/src/interpret_functions.h:1654:    describe_svalue(s, 0,0); \    do_trace_call(args); \    } \    (*(s->u.efun->function))(args); \    if(Pike_sp != expected_stack + !s->u.efun->may_return_void) \    { \    if(Pike_sp < expected_stack) \    fatal("Function popped too many arguments: %s\n", \    s->u.efun->name->str); \    if(Pike_sp>expected_stack+1) \ -  fatal("Function left droppings on stack: %s\n", \ +  fatal("Function left %d droppings on stack: %s\n", \ +  Pike_sp-(expected_stack+1), \    s->u.efun->name->str); \    if(Pike_sp == expected_stack && !s->u.efun->may_return_void) \    fatal("Non-void function returned without return value " \    "on stack: %s %d\n", \    s->u.efun->name->str,s->u.efun->may_return_void); \    if(Pike_sp==expected_stack+1 && s->u.efun->may_return_void) \    fatal("Void function returned with a value on the stack: %s %d\n", \    s->u.efun->name->str, s->u.efun->may_return_void); \    } \    if(t_flag>1 && Pike_sp>expected_stack) trace_return_value(); \