Branch: Tag:

1999-08-19

1999-08-19 23:49:46 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

compatibility fix for map()

Rev: src/builtin_functions.c:1.182

5:   \*/   /**/   #include "global.h" - RCSID("$Id: builtin_functions.c,v 1.181 1999/08/12 20:05:27 mast Exp $"); + RCSID("$Id: builtin_functions.c,v 1.182 1999/08/19 23:49:46 hubbe Exp $");   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"
4259:    push_svalue(a->item+i);    push_svalue(mysp-2);    f_arrow(2); +  if(IS_ZERO(sp-1)) +  { +  pop_stack(); +  continue; +  }    add_ref_svalue(mysp-1);    push_array_items(mysp[-1].u.array);    f_call_function(splice+1);