Branch: Tag:

2000-01-05

2000-01-05 06:08:56 by Martin Stjernholm <mast@lysator.liu.se>

Restored the throw for failed compilations in low_findprog();
otherwise we might continue in a very awkward state.

Rev: lib/master.pike.in:1.91

1:   /* -*- Pike -*-    * -  * $Id: master.pike.in,v 1.90 1999/12/29 18:46:00 mast Exp $ +  * $Id: master.pike.in,v 1.91 2000/01/05 06:08:56 mast Exp $    *    * Master-file for Pike.    *
310:       if ( mixed e=catch { ret=compile_file(fname); } )    { -  if(arrayp(e) && sizeof(e) && stringp (e[0])) -  if (handler) handler->compile_error(fname, 0, e[0]); -  else compile_error(fname, 0, e[0]); +  programs[fname]=0; +  if(arrayp(e) && +  sizeof(e)==2 && +  arrayp(e[1]) && +  sizeof(e[1]) == sizeof(backtrace())) +  e[1]=({}); +  throw(e);    }    break;   #if constant(load_module)