Branch: Tag:

2001-03-13

2001-03-13 16:59:52 by Martin Stjernholm <mast@lysator.liu.se>

Fixed wrongthought result type for some tags.

Rev: server/modules/tags/rxmltags.pike:1.211

7:   #define _rettext id->misc->defines[" _rettext"]   #define _ok id->misc->defines[" _ok"]    - constant cvs_version = "$Id: rxmltags.pike,v 1.210 2001/03/12 16:40:14 mast Exp $"; + constant cvs_version = "$Id: rxmltags.pike,v 1.211 2001/03/13 16:59:52 mast Exp $";   constant thread_safe = 1;   constant language = roxen->language;   
448:    inherit RXML.Tag;    constant name = "unset";    constant flags = RXML.FLAG_EMPTY_ELEMENT; -  array(RXML.Type) result_types = ({RXML.t_nil}); // No result. +  array(RXML.Type) result_types = ({RXML.t_any}); // Returns nil.       class Frame {    inherit RXML.Frame;
470:    constant name = "set";    mapping(string:RXML.Type) req_arg_types = ([ "variable": RXML.t_text(RXML.PEnt) ]);    RXML.Type content_type = RXML.t_any (RXML.PXml); -  array(RXML.Type) result_types = ({RXML.t_nil}); // No result. +  array(RXML.Type) result_types = ({RXML.t_any}); // Returns nil.       class Frame {    inherit RXML.Frame;
510:    constant name = "inc";    constant flags = RXML.FLAG_EMPTY_ELEMENT;    mapping(string:RXML.Type) req_arg_types = ([ "variable":RXML.t_text ]); -  array(RXML.Type) result_types = ({RXML.t_nil}); // No result. +  array(RXML.Type) result_types = ({RXML.t_any}); // Returns nil.       class Frame {    inherit RXML.Frame;
529:    constant name = "dec";    constant flags = RXML.FLAG_EMPTY_ELEMENT;    mapping(string:RXML.Type) req_arg_types = ([ "variable":RXML.t_text ]); -  array(RXML.Type) result_types = ({RXML.t_nil}); // No result. +  array(RXML.Type) result_types = ({RXML.t_any}); // Returns nil.       class Frame {    inherit RXML.Frame;