Yes, and that is good. That still doesn't mean that it has to be so space-inefficient. I mean
#define SIMPLE_ARG_ERROR(FUNC, ARG, PROBLEM) \ bad_arg_error (FUNC, Pike_sp-args, args, ARG, NULL, Pike_sp+ARG-1-args, \ msg_bad_arg_2, ARG, FUNC, PROBLEM)
should really be somthing like
#define SIMPLE_ARG_ERROR(FUNC, ARG, PROBLEM) \ simple_arg_error (FUNC, args, ARG, PROBLEM)
or
#define SIMPLE_ARG_ERROR(ARG, PROBLEM) \ simple_arg_error (args, ARG, PROBLEM)
/ Martin Nilsson (räfsfiskal)
Previous text:
2004-05-18 15:32: Subject: Re: Nettle cmod segfault
The idea with SIMPLE_ERROR was to prepare for real Error objects with a bit of more information then the error string given with Pike_error.
/ Mirar