Roxen.git/
server/
etc/
modules/
Roxen.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2000-08-10
2000-08-10 16:21:00 by Per Hedbor <ph@opera.com>
85a1bbbd010d6e733a39e1e9b0387fcc98038c3a (
12
lines) (+
8
/-
4
)
[
Show
|
Annotate
]
Branch:
5.2
Do not add scopes when there is no active RXML parser
Rev: server/etc/modules/Roxen.pmod:1.24
1:
/*
-
* $Id: Roxen.pmod,v 1.
23
2000/08/
09
11
:
12
:
15
per Exp $
+
* $Id: Roxen.pmod,v 1.
24
2000/08/
10
16
:
21
:
00
per Exp $
* * Various helper functions. *
693:
SRestore res = SRestore(); mapping ac = all_constants(); if(!name) name = "";
+
if( RXML.get_context() )
+
{
foreach( RXML.get_context()->list_scopes()|({"_"}), string scope ) { res->osc[ name+scope ] = ac[ name+scope ]; add_constant( name+scope, EScope( scope ) ); }
-
+
}
return res; }