pike.git / lib / master.pike.in

version» Context lines:

pike.git/lib/master.pike.in:1:   /* -*- Pike -*-    * -  * $Id: master.pike.in,v 1.157 2001/06/18 18:05:31 grubba Exp $ +  * $Id: master.pike.in,v 1.158 2001/06/21 10:12:43 wellhard 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:518:    if(sscanf(reverse(tmp[-1]),"%s.%s",ext, nname))    {    ext="."+reverse(ext);    tmp[-1]=reverse(nname);    pname=tmp*"/";    }else{    ext="";    }    if(IS_ABSOLUTE_PATH(pname))    { +  if (programs[pname]) +  return programs[pname];    pname=combine_path("/",pname);    return findprog(pname,ext,handler,mkobj);    }else{    string cwd;    if(current_file)    {    cwd=DIRNAME(current_file);    }else{    cwd=getcwd();    }