pike.git / bin / mkxml.pike

version» Context lines:

pike.git/bin/mkxml.pike:1: - /* $Id: mkxml.pike,v 1.4 2001/05/05 20:38:48 mirar Exp $ */ + /* $Id: mkxml.pike,v 1.5 2001/05/05 20:39:13 mirar Exp $ */      import Stdio;   import Array;      mapping parse=([]);   int illustration_counter;      mapping manpage_suffix=   ([    "Image":"i",
pike.git/bin/mkxml.pike:303:    sscanf(t,"%s<illustration%s>%s</illustration>%s",t,q,u,v)==4)    {    s+=replace(t,"\n\n","\n\n<p>")+    "<illustration __from__='"+where+"' src=image_ill.pnm"+q+">\n"    +replace(u,"lena()","src")+"</illustration>";    t=v;    }    else if (b[..2]=="pre" &&    sscanf(t,"%s<pre%s>%s</pre>%s",t,q,u,v)==4)    { -  werror("%O\n",u); +     s+=replace(t,"\n\n","\n\n<p>")+    "<pre"+q+">\n"+u+"</pre>";    t=v;    }    else    {    s+=replace(a,"\n\n","\n\n<p>")+"<"+b+">";    t=c;    }    }