--- parser3/tests/253.html 2010/10/24 22:14:42 1.5
+++ parser3/tests/253.html 2014/05/04 01:45:43 1.7
@@ -3,7 +3,7 @@
$f[^file::load[text;253_json.txt; $.charset[windows-1251]]]
$s[^taint[as-is][$f.text]]
-^try_catch{$o[^json:parse[$s]]}
+^try-catch{$o[^json:parse[$s]]}
$o[^json:parse[$s][ $.object[$hook] $.distinct[first] ]]
^print[$o]
@@ -11,6 +11,9 @@ $o[^json:parse[$s][ $.object[$hook] $.di
$o[^json:parse[$s][ $.double(false) $.distinct[last] ]]
^print[$o]
+$o[^json:parse[$s][ $.int(false) $.distinct[last] ]]
+^print[$o]
+
$o[^json:parse[$s][ $.object[$hook_key] $.distinct[all] ]]
^print[$o]
@@ -22,15 +25,6 @@ $o[^json:parse[$s][ $.object[$hook] ]]
$o[^json:parse[$s]]
^print[$o]
-@try_catch[code]
-^try{
- $code
-}{
- $exception.handled(true)
- $exception.source
- $exception.comment
-}
-
@print[hash]
^json:string[$hash; $.indent(1)]