pike.git
/
lib
/
master.pike.in
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/lib/master.pike.in:1:
/* -*- Pike -*- *
-
* $Id: master.pike.in,v 1.
112
2000/04/
08
01
:
30
:
19
hubbe
Exp $
+
* $Id: master.pike.in,v 1.
113
2000/04/
10
16
:
09
:
32
grubba
Exp $
* * Master-file for Pike. * * Based on master.pike 1.67. */ // Some configurable parameters useful for debugging #define PIKE_AUTORELOAD
pike.git/lib/master.pike.in:34:
p=replace(p,"\\","/"); if(sscanf(p,"%[a-zA-Z]:",string s) && sizeof(s)==1) return 1; #define IS_ABSOLUTE_PATH is_absolute_path #else #define IS_ABSOLUTE_PATH(X) ((X)[0]=='/') #endif return p[0]=='/'; }
-
string
*
explode_path(string p)
+
array(
string
)
explode_path(string p)
{ #ifdef __NT__ p=replace(p,"\\","/"); #define EXPLODE_PATH(X) (replace((X),"\\","/")/"/") #else #define EXPLODE_PATH(X) ((X)/"/") #endif return p/"/"; }
pike.git/lib/master.pike.in:71:
#define UNDEFINED (([])[0]) #define error(X) throw( ({ (X), backtrace()/*[0..sizeof(backtrace())-2]*/ }) ) string describe_backtrace(array trace); object low_cast_to_object(string oname, string current_file); array(string) pike_include_path=({}); array(string) pike_module_path=({}); array(string) pike_program_path=({});
-
int want_warnings =
0
;
+
int want_warnings =
1
;
#ifdef PIKE_AUTORELOAD int autoreload_on; int newest; #define AUTORELOAD_CHECK_FILE(X) \ if(autoreload_on) if(mixed fnord=master_file_stat(X)) if(fnord[3]>newest) newest=fnord[3]; #define AUTORELOAD_BEGIN() \
pike.git/lib/master.pike.in:1008:
_master_file_name = q[i][1]; break; } } foreach(q, array opts) { switch(opts[0]) { case "version":
-
werror(version() + " Copyright
(C)
1994-
1997
Fredrik Hübinette\n"
+
werror(version() + " Copyright
©
1994-
2000
Fredrik Hübinette\n"
"Pike comes with ABSOLUTELY NO WARRANTY; This is free software and you are\n" "welcome to redistribute it under certain conditions; Read the files\n" "COPYING and DISCLAIMER in the Pike distribution for more details.\n"); exit(0); case "help": werror("Usage: pike [-driver options] script [script arguments]\n" "Driver options include:\n" " -I --include-path=<p>: Add <p> to the include path\n" " -M --module-path=<p> : Add <p> to the module path\n"