Branch: Tag:

2000-05-25

2000-05-25 02:18:35 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

module precompiler v0.1 added

Rev: bin/precompile.pike:1.1
Rev: src/Makefile.in:1.193
Rev: src/builtin.cmod:1.1
Rev: src/builtin_functions.c:1.276
Rev: src/configure.in:1.376
Rev: src/error.c:1.51
Rev: src/error.h:1.42
Rev: src/fd_control.c:1.30
Rev: src/precompile.sh.in:1.1

20:   #include "threads.h"   #include "gc.h"    - RCSID("$Id: error.c,v 1.50 2000/04/19 21:26:19 mast Exp $"); + RCSID("$Id: error.c,v 1.51 2000/05/25 02:18:35 hubbe Exp $");      #undef ATTRIBUTE   #define ATTRIBUTE(X)
552:    ERROR_DONE(generic);   }    + void wrong_number_of_args_error(char *name, int args, int expected) + { +  char *msg; +  if(expected>args) +  { +  msg="Too few arguments"; +  }else{ +  msg="Too many arguments"; +  } +  +  new_error(name, msg, sp-args, args, 0,0); + } +    #ifdef PIKE_DEBUG   static void gc_check_throw_value(struct callback *foo, void *bar, void *gazonk)   {