pike.git / lib / master.pike.in

version» Context lines:

pike.git/lib/master.pike.in:1162:   program compile_string(string source, void|string filename,    object|void handler,    void|program p,    void|object o,    void|int _show_if_constant_errors)   {   #ifdef RECUR_COMPILE_DEBUG    werror ("%*s>>> compile_string %O\n", GET_MSG_DEPTH, "", filename);    INC_MSG_DEPTH();   #endif -  program ret = compile(cpp(source, filename||"-", 1, handler, +  string code = cpp(source, filename||"-", 1, handler,    compat_major, compat_minor,    (zero_type(_show_if_constant_errors)?    show_if_constant_errors: -  _show_if_constant_errors)), +  _show_if_constant_errors)); +  program ret; +  if(code) +  ret = compile(code,    handler,    compat_major,    compat_minor,    p,    o);    if (source_cache)    source_cache[ret] = source;   #ifdef RECUR_COMPILE_DEBUG    DEC_MSG_DEPTH();    werror ("%*s<<< compile_string %O\n", GET_MSG_DEPTH, "", filename);
pike.git/lib/master.pike.in:1963:   #endif /* load_module */    }       AUTORELOAD_FINISH(ret,programs,fname);       if (ret?->this_program_does_not_exist) {    resolv_debug ("low_findprog %s: program says it doesn't exist\n", fname);    return programs[fname] = 0;    }    else { +  if(!ret) +  resolv_debug("low_findprog %s: dependencies failed.\n"); +  else    resolv_debug("low_findprog %s: returning %O\n", fname, ret);    return programs[fname]=ret;    }    }       resolv_debug ("low_findprog %s: file not found\n", fname);    return 0;   }      //