Branch: Tag:

2003-05-07

2003-05-07 10:49:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Updated to new static_module naming scheme.

Rev: lib/master.pike.in:1.276
Rev: src/dumpmaster.pike:1.11

2:   || 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: dumpmaster.pike,v 1.10 2002/10/11 02:39:03 nilsson Exp $ + || $Id: dumpmaster.pike,v 1.11 2003/05/07 10:49:00 grubba Exp $   */      string fr;
35:      string read_file(string s)   { -  return _static_modules.files()->Fd(fakeroot(s),"r")->read(); +  return _static_modules.___files()->Fd(fakeroot(s),"r")->read();   }      program compile_file(string file)
51:    switch(x)    {   #define CONST(X) case X: return #X -  CONST(_static_modules.files.Stat); +  CONST(_static_modules.___files.Stat);    CONST(_static_modules.Builtin.__backend);    }    encoded+=({x});
66:       program p=compile_file(argv[-1]);    string s=encode_value(p, Codec()); -  _static_modules.files()->Fd(fakeroot(argv[-1]) + ".o","wct")->write(s); +  _static_modules.___files()->Fd(fakeroot(argv[-1]) + ".o","wct")->write(s);    exit(0);   }      mixed resolv() { return UNDEFINED; }