Branch: Tag:

1997-08-03

1997-08-03 09:55:11 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

more debug and better error messages

Rev: src/error.c:1.7
Rev: src/interpret.c:1.44
Rev: src/language.yacc:1.44
Rev: src/las.c:1.35
Rev: src/program.c:1.36

4:   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: interpret.c,v 1.43 1997/07/19 20:25:24 hubbe Exp $"); + RCSID("$Id: interpret.c,v 1.44 1997/08/03 09:55:06 hubbe Exp $");   #include "interpret.h"   #include "object.h"   #include "program.h"
522: Inside #if defined(DEBUG)
   fp->locals+fp->num_locals > sp)    fatal("Stack error (stupid!).\n");    +  if(recoveries && sp-evaluator_stack < recoveries->sp) +  fatal("Stack error (underflow)\n"); +     if(d_flag > 9) do_debug();       backlogp++;