Slight cleanup in xml-rpc
parent
1279d6e8ea
commit
b5a96dccdf
|
@ -126,11 +126,11 @@ TAG: int xml>item children>number ;
|
||||||
TAG: double xml>item children>number ;
|
TAG: double xml>item children>number ;
|
||||||
|
|
||||||
TAG: boolean xml>item
|
TAG: boolean xml>item
|
||||||
dup children>string {
|
children>string {
|
||||||
{ [ dup "1" = ] [ 2drop t ] }
|
{ "1" [ t ] }
|
||||||
{ [ "0" = ] [ drop f ] }
|
{ "0" [ f ] }
|
||||||
[ "Bad boolean" server-error ]
|
[ "Bad boolean" server-error ]
|
||||||
} cond ;
|
} case ;
|
||||||
|
|
||||||
: unstruct-member ( tag -- )
|
: unstruct-member ( tag -- )
|
||||||
children-tags first2
|
children-tags first2
|
||||||
|
|
Loading…
Reference in New Issue