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.347 2004/05/01 16:19:08 nilsson Exp $ + // $Id: master.pike.in,v 1.348 2004/05/25 15:28:53 mast Exp $      #pike __REAL_VERSION__   //#pragma strict_types      // Some programs destroys character pairs beginning with the currency   // symbol when running in chinese locale.   #if "ยค/" != "\244/"   #error "master.pike.in is corrupted."   #endif   
pike.git/lib/master.pike.in:1882:    ver=(string)version;   #if 0    if (version) {    root_module->symbol = ver + "::";    }   #endif    if (CompatResolver::fallback_resolver = fallback_resolver) {    root_module->fallback_module = fallback_resolver->root_module;    }    predefines = initial_predefines; +  +  // Kludge to avoid(?) recursive compilation problems. It was +  // observed with a pike program containing +  // +  // #if constant (__builtin.security) +  // #endif +  // +  // when using -V7.4. There was a cycle between resolving +  // lib/modules/__builtin.pmod and lib/7.4/modules/__default.pmod. +  get_default_module();    }       //! Add a directory to search for include files.    //!    //! This is the same as the command line option @tt{-I@}.    //!    //! @note    //! Note that the added directory will only be searched when using    //! < > to quote the included file.    //!
pike.git/lib/master.pike.in:2031:    res[n] = joinnode(({res[n], v}));    else    res[n] = v;    }    return res;    }       //!    mapping get_default_module()    { +  resolv_debug ("%O->get_default_module()\n", this); +     /* This is an ugly kluge to avoid an infinite recursion.    * The infinite recursion occurs because this function is    * called for every file when the compat_major/minor is set.    * This kluge could cause problems with threads if the    * compiler was threaded. -Hubbe    */    int saved_compat_minor=compat_minor;    int saved_compat_major=compat_major;    compat_minor=-1;    compat_major=-1;