pike.git / lib / master.pike.in

version» Context lines:

pike.git/lib/master.pike.in:436:    if (!Pike_7_6_compat_handler) {    Pike_7_6_compat_handler = global::get_compilation_handler(7, 6);    }    return Pike_7_6_compat_handler->resolv(identifier, current_file);    }    array get_backtrace (object|array err);    object get_compat_master(int major, int minor)    {    // 0.0 .. 7.6    if ((major < 7) || ((major == 7) && (minor < 7))) -  return this_program::this; +  return this::this;    return get_compat_master(major, minor);    }       /* No missing symbols. */   }      //! Pike 7.8 master compatibility interface.   //!   //! Most of the interface is implemented via mixin,   //! or overloading by more recent masters.
pike.git/lib/master.pike.in:482:    Pike_7_8_compat_handler = global::get_compilation_handler(7, 8);    }    return Pike_7_8_compat_handler->resolv(identifier, current_file);    }    object get_compat_master(int major, int minor)    {    if ((major < 7) || ((major == 7) && (minor < 7)))    return Pike_7_6_master::get_compat_master(major, minor);    // 7.5 & 7.6    if ((major == 7) && (minor < 9)) -  return this_program::this; +  return this::this;    return get_compat_master(major, minor);    }   }      //! Namespaces for compat masters.   //!   //! This inherit is used to provide compatibility namespaces   //! for @[get_compat_master()].   //!   //! @seealso
pike.git/lib/master.pike.in:2503:    equal (mkmultiset (joined_modules), mkmultiset (other->joined_modules));    }       array(object) _encode()    {    return joined_modules;    }       void _decode (array(object) joined_modules)    { -  this_program::joined_modules = joined_modules; +  this::joined_modules = joined_modules;    }   }      joinnode handle_import(string path, string|void current_file,    object|void current_handler)   {   #ifdef __amigaos__    if(path == ".")    path = "";   #endif
pike.git/lib/master.pike.in:5106:    // return ({});    }    DEC_RETURN (([function]x->_encode)());    }       protected void create (void|mixed encoded)    //! Creates an encoder instance. If @[encoded] is specified, it's    //! encoded instead of being reverse resolved to a name. That's    //! necessary to encode programs.    { -  this_program::encoded = encoded; +  this::encoded = encoded;       foreach (all_constants(); string var; mixed val)    rev_constants[val] = "c" + var;       // FIXME: We don't have any good way to do reverse lookups on    // things that are assigned to module variables. Here we use    // rev_constants only to find the most vital ones.    {    object val_module = resolv ("Val");    foreach (indices (val_module), string var) {