Roxen.git/
server/
etc/
modules/
RXML.pmod/
module.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2008-10-12
2008-10-12 22:42:53 by Martin Stjernholm <mast@lysator.liu.se>
2365d8ef7b0d2e2ef021282755fbbc8912752931 (
12
lines) (+
5
/-
7
)
[
Show
|
Annotate
]
Branch:
5.2
Fixed a bogus debug check.
Rev: server/etc/modules/RXML.pmod/module.pmod:1.379
2:
// // Created 1999-07-30 by Martin Stjernholm. //
-
// $Id: module.pmod,v 1.
378
2008/10/12 22:
14
:
03
mast Exp $
+
// $Id: module.pmod,v 1.
379
2008/10/12 22:
42
:
53
mast Exp $
// Kludge: Must use "RXML.refs" somewhere for the whole module to be // loaded correctly.
3905:
do { \ if (SCOPE_TYPE vars = this_object()->vars) { \ LEAVE_SCOPE (ctx, this_object()); \
-
if
(flags
&
FLAG_IS_CACHE_STATIC
&&
ctx->evaled_p_code)
{
\
-
DO_IF_DEBUG
(
\
-
if (
!csf)
error
("Failed
to
create
CacheStaticFrame
" \
-
"at scope entry.\n"
)
;
\
-
); \
+
/*
csf
is
usually
set,
but
might
not
be
in
the
cleanup
after
\
+
*
exceptions.
*/
\
+
if (
flags
&
FLAG_IS_CACHE_STATIC
&&
csf
&&
ctx->evaled_p_code
) \
ctx->misc->recorded_changes += ({csf->LeaveScope(), ([])}); \ } \
-
} \
+
} while (0) #define EXEC_CALLBACK(ctx, csf, evaler, exec, cb, args...) \