Roxen.git/
server/
etc/
modules/
RXML.pmod/
module.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2003-12-15
2003-12-15 09:51:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>
8b340649bc893d13022772a58d77475aea3352ea (
8
lines) (+
6
/-
2
)
[
Show
|
Annotate
]
Branch:
5.2
Workaround for circular dependency.
Rev: server/etc/modules/RXML.pmod/module.pmod:1.318
2:
// // Created 1999-07-30 by Martin Stjernholm. //
-
// $Id: module.pmod,v 1.
317
2003/
10
/
13
13
:
11
:
05
mast
Exp $
+
// $Id: module.pmod,v 1.
318
2003/
12
/
15
09
:
51
:
53
grubba
Exp $
// Kludge: Must use "RXML.refs" somewhere for the whole module to be // loaded correctly.
1001:
//! context. The parser will collect an @[RXML.PCode] object if //! @[make_p_code] is nonzero. {
-
return new_context (id)->new_parser (top_level_type, make_p_code);
+
// Soft cast due to circular forward reference.
+
// Will hopefully be resolved with the next generation compiler.
+
return
[object(Parser)]
+
new_context (id)->new_parser (top_level_type, make_p_code);
} final Parser `() (Type top_level_type, void|RequestID id, void|int make_p_code)