Slight cleanup in xml-rpc

db4
Daniel Ehrenberg 2009-02-09 18:36:36 -06:00
parent 1279d6e8ea
commit b5a96dccdf
1 changed files with 4 additions and 4 deletions

View File

@ -126,11 +126,11 @@ TAG: int xml>item children>number ;
TAG: double xml>item children>number ;
TAG: boolean xml>item
dup children>string {
{ [ dup "1" = ] [ 2drop t ] }
{ [ "0" = ] [ drop f ] }
children>string {
{ "1" [ t ] }
{ "0" [ f ] }
[ "Bad boolean" server-error ]
} cond ;
} case ;
: unstruct-member ( tag -- )
children-tags first2