--- parser3/www/htdocs/Attic/index.html 2002/08/08 09:35:23 1.96 +++ parser3/www/htdocs/Attic/index.html 2002/08/08 09:52:46 1.97 @@ -17,7 +17,7 @@ $selffilespec[$filespec] #^a.format[%.10u] #$result[111] #^f[a] -^connect[mysql://mdm:4b833ljq@db-mysql/mdm]{ +#^connect[mysql://mdm:4b833ljq@db-mysql/mdm]{ # ^int:sql{select news_id from news where news_id=-1}[ ## $.default{2} # ]
@@ -25,12 +25,9 @@ $selffilespec[$filespec] # ^file::load[text;^string:sql{select '^^hello[]' }] # ^string:sql{select '^^hello[]' }] $ORIGINS(1) # ^process{ ^^h[]} - ^process{^string:sql{select '1 - ^^hello[]' }] } -# $f[^file::load[text;piece.p]] ^process{$f.text} - $ORIGINS(1) - -} +# ^process{^string:sql{select '1 +# ^^hello[]' }] } +#} #^eval(2) #^tcrashlocaljunctionsv2[] #^tcrashlocaljunctions[] @@ -205,9 +202,14 @@ $selffilespec[$filespec] #^sendtests[] #^wwrapperpass[] #^badpos[] +^processtest[]
OK +@processtest[] + $f[^file::load[text;piece.p]] ^process{$f.text} + $ORIGINS(1) + @badpos[] $s[123]