--- parser3/www/htdocs/Attic/_bug.html 2004/02/27 15:24:03 1.15 +++ parser3/www/htdocs/Attic/_bug.html 2005/01/20 14:10:29 1.80 @@ -1,9 +1,29 @@ @main[] -$s[// 123/] -^taint[as-is][^s.trim[start;/3 1]] +^first[] +^if(def $error){ + ^if(^error.pos[koshmar]>=0){ + $error, TODO:recover + }{ + $error, TODO:die + } +} +@first[] +^second[] +^if(!def $error){ + working1 +} +@second[] +^if(^math:random(2)){ + $error[koshmar,test1] +} +^if(!def $error){ + working2 + + ^if(^math:random(2)){ + $error[uzhas,test2] + } + ^if(!def $error){ + working3 + } +} -@leechy[] -$xdoc[^xdoc::load[_bug.xml]] -$xdoc[^xdoc.transform[_bug.xsl]] -^xdoc.save[_bug_saved.xml] -OK?