pike.git / lib / master.pike.in

version» Context lines:

pike.git/lib/master.pike.in:1:   // -*- Pike -*-   //   // Master Control Program for Pike.   //   // This file is part of Pike. For copyright information see COPYRIGHT.   // Pike is distributed under GPL, LGPL and MPL. See the file COPYING   // for more information.   // - // $Id: master.pike.in,v 1.473 2010/06/16 14:17:32 grubba Exp $ + // $Id: master.pike.in,v 1.474 2010/07/28 10:29:59 mast Exp $      #pike __REAL_VERSION__   //#pragma strict_types      //! @appears predef::MasterObject   //!   //! Master control program for Pike.   //!   //! @seealso   //! @[predef::master()], @[predef::replace_master()]
pike.git/lib/master.pike.in:5712:    // Note: May duplicate the assignment above.    compat_handler_cache[v] = ret;       return ret;   }      string _sprintf(int t)   {    // NOTE: The ||'O' is for Pike 7.2 compat only.    switch(t||'O') { +  // FIXME: What good is this lying for 't'? The master is still an +  // object.. /mast    case 't': return "master";    case 'O': return "master()";    }   }      //! Return a master object compatible with the specified version of Pike.   //!   //! This function is used to implement the various compatibility versions   //! of @[master()].   //!   //! @seealso   //! @[get_compilation_handler()], @[master()]   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.7 and later.    return this;   }