pike.git / lib / master.pike.in

version» Context lines:

pike.git/lib/master.pike.in:1:   /* -*- Pike -*-    * -  * $Id: master.pike.in,v 1.118 2000/05/11 04:30:25 mast Exp $ +  * $Id: master.pike.in,v 1.119 2000/05/13 16:48:20 mast Exp $    *    * Master-file for Pike.    *    * Based on master.pike 1.67.    */      // Some configurable parameters useful for debugging      #define PIKE_AUTORELOAD   
pike.git/lib/master.pike.in:722:       static mixed ind(string index)    {    array(mixed) res = ({});    foreach(joined_modules, object|mapping o)    {    mixed ret;    if (!zero_type(ret = o[index]))    {    if (objectp(ret = o[index]) && -  (object_program(ret)->is_resolv_dirnode || -  object_program(ret)->is_resolv_joinnode)) +  (ret->is_resolv_dirnode || ret->is_resolv_joinnode))    {    // Only join directorynodes (or joinnodes).    res += ({ ret });    } else if ( ret ) {    return (ret);    } else {    // Ignore    continue;    }    }
pike.git/lib/master.pike.in:841:   }      mixed resolv_base(string identifier, string|void current_file)   {    array(mixed) tmp = ({});    foreach(pike_module_path, string path)    {    string file=combine_path(path,identifier);    if(mixed ret=findmodule(file)) {    if ((objectp(ret)) && -  (object_program(ret)->is_resolv_dirnode || -  object_program(ret)->is_resolv_joinnode)) { +  (ret->is_resolv_dirnode || ret->is_resolv_joinnode)) {    if (mixed new_ret = ret->_module_value) {    ret = new_ret;    }    tmp += ({ ret });    } else {    if (mixed new_ret = ret->_module_value) {    ret = new_ret;    }    if (!sizeof(tmp)) {    return ret;