pike.git / lib / master.pike.in

version» Context lines:

pike.git/lib/master.pike.in:1:   /* -*- Pike -*-    * -  * $Id: master.pike.in,v 1.181 2001/12/13 15:51:35 grubba Exp $ +  * $Id: master.pike.in,v 1.182 2001/12/16 04:03:58 mast Exp $    *    * Master-file for Pike.    *    * Based on master.pike 1.67.    */      // Some configurable parameters useful for debugging      #pike __REAL_VERSION__   #define PIKE_AUTORELOAD
pike.git/lib/master.pike.in:844:   #endif    }       class module_checker    {    int `!()    {   #ifdef MODULE_TRACE    werror("%*ndirnode(%O)->module_checker()->`!()\n",sizeof(backtrace()),dirname);   #endif -  if (mixed err = catch { +     if(module=findmodule(dirname+"/module", handler))    {    if(mixed tmp=module->_module_value)    module=tmp;       /* This allows for `[] to have side effects first time    * it is called. (Specifically, the Calendar module uses    * this    */    cache=([]);    _cache_full=0;    } -  }) { -  if(!get_inhibit_compile_errors()) -  throw(err); -  } +        return !module;    }       mixed `[](string index)    {   #ifdef MODULE_TRACE    werror("%*ndirnode(%O)->module_checker()[%O]\n",sizeof(backtrace()),dirname,index);   #endif    if(module) return module[index];