pike.git / lib / master.pike.in

version» Context lines:

pike.git/lib/master.pike.in:624:   #define AUTORELOAD_CHECK_FILE(X)   #define AUTORELOAD_BEGIN()   #define AUTORELOAD_FINISH(VAR,CACHE,FILE)      #endif // PIKE_AUTORELOAD      protected class CompilerEnvironment   {    inherit predef::CompilerEnvironment : OrigCompilerEnvironment;    +  object get_compilation_handler(int major, int minor) +  { +  return master()->get_compilation_handler(major, minor); +  } +     int compile_exception(mixed err)    {    function(mixed:int) fun = master()->compile_exception;    return fun && fun(err);    }       string format_exception(mixed err)    {    return 0;    }
pike.git/lib/master.pike.in:730:    sizeof(extra_args)?    sprintf(message, @extra_args):    message);    return;    }    }    }    ::report(severity, filename, linenumber, subsystem, message, @extra_args);    }    +  object get_compilation_handler(int major, int minor) +  { +  return apply_handler(__func__, major, minor); +  } +  +  void change_cpp_compatibility(int major, int minor) +  { +  if ((compat_major == major) && (compat_minor == minor)) { +  return; +  } +  +  if (((major == __REAL_MAJOR__) && (minor == __REAL_MINOR__)) || +  (major < 0)) { +  compat_handler = UNDEFINED; +  } else { +  compat_handler = get_compilation_handler(major, minor); +  } +  ::change_cpp_compatibility(major, minor); +  } +     int compile_exception(mixed err)    {    return apply_handler(__func__, err);    }       string format_exception(mixed err)    {    string ret = apply_handler(__func__, err);    if (ret) return ret;    if (compile_exception(err)) {