Branch: Tag:

2001-07-20

2001-07-20 00:21:48 by Martin Nilsson <mani@lysator.liu.se>

A few more type fixes.

Rev: bin/mkxml.pike:1.28

1: - /* $Id: mkxml.pike,v 1.27 2001/07/19 21:23:43 nilsson Exp $ */ + /* $Id: mkxml.pike,v 1.28 2001/07/20 00:21:48 nilsson Exp $ */      string LENA_PATH = "../autodoc/image_ill.pnm";   string makepic1;
371:    if (!q) return ({doctype(in[..i-1],indent+" ")})+    paramlist(in[i+1..],indent);    } -  return ({in}); +  return ({doctype(in,indent+" ")});    };      
423:    array z=paramlist(b,nindent);    if (sizeof(z)!=2)    werror("warning: confused mapping type: %O\n",type), -  z+=({"mixed","mixed"}); +  z+=({"<mixed/>","<mixed/>"});    return nindent+"<mapping><indextype>"+z[0]+"</indextype>"+    nindent+" <valuetype>"+z[1]+"</valuetype></mapping>";    case "object":
432:    z=paramlist(b,nindent);    if (sizeof(z)<1)    werror("warning: confused function type: %O\n",type), -  z+=({"mixed"}); +  z+=({"<mixed/>"});    return    nindent+    "<function>"+