pike.git/
lib/
master.pike.in
Branch:
Tag:
Non-build tags
All tags
No tags
2001-07-02
2001-07-02 17:07:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>
d28a7169f28d753d175b0cd2d66de2d11feb9778 (
25
lines) (+
15
/-
10
)
[
Show
|
Annotate
]
Branch:
7.9
Some minor fixes.
Rev: lib/master.pike.in:1.159
1:
/* -*- Pike -*- *
-
* $Id: master.pike.in,v 1.
158
2001/
06
/
21
10
:
12
:
43
wellhard
Exp $
+
* $Id: master.pike.in,v 1.
159
2001/
07
/
02
17
:
07
:
18
grubba
Exp $
* * Master-file for Pike. *
570:
{ if(mixed x=catch { werror(describe_backtrace(trace));
-
})
-
{
+
}) {
// One reason for this might be too little stack space, which // easily can occur for "out of stack" errors. It should help to // tune up the STACK_MARGIN values in interpret.c then. werror("Error in handle_error in master object:\n"); if(catch {
-
+
catch {
if (catch { string msg = x[0]; array bt = x[1];
-
werror
("%s%
O\nOriginal error:\n%
O\n", msg, bt
, trace
);
-
})
-
werror("%O\nOriginal error:\n%O\n",x,trace);
+
werror("%s%O\n", msg, bt);
}) {
-
+
werror("%O\n", x);
+
}
+
};
+
werror("Original error:\n"
+
"%O\n", trace);
+
}) {
werror("sprintf() failed to write error.\n"); } }
2356:
}
-
mixed
decode_object(object o, mixed data)
+
void
decode_object(object o, mixed data)
{ o->_decode(data); }