--- parser3/tests/256.html 2010/09/29 03:25:51 1.1 +++ parser3/tests/256.html 2011/05/18 02:13:43 1.4 @@ -5,7 +5,7 @@ $a.b[$b] $h[ $.hash[ - $.void[] + $.void[$void] $.bool-true(true) $.bool-false(false) $.int(1) @@ -48,6 +48,8 @@ $h[ $.1[$.table[object] $.indent(true)] $.2[$.table[array]] $.3[$.table[array] $.indent(true)] + $.4[$.table[compact]] + $.5[$.table[compact] $.indent(true)] ] ] @@ -88,9 +90,21 @@ $h[ ] ] + $.xdoc[ + $.value[^xdoc::create{}] + $._options[ + $.0[] + $.1[$.xdoc[ + $.omit-xml-declaration[yes] + $.indent[yes] + ]] + ] + ] ] ^h.table.table_named_3.append{v7 v8 v9 v0} +^h.table.table_named_3.append{vA"} +^h.table.table_named_3.append{vB\} $s[^h.foreach[k;v]{

$k

@@ -119,12 +133,12 @@ $bShouldBeException($options.exception) } -@handler[v;p][kk;vv] +@handler[k;v;p][kk;vv] $result[^switch[$v.CLASS_NAME]{ ^case[date]{"new Date(^v.unix-timestamp[])"} ^case[file]{{"file":{"name":"$v.name", "text":"$v.text", "params":"-params-"}}} ^case[image]{"image []"} - ^case[DEFAULT]{"$v.CLASS_NAME"} + ^case[DEFAULT]{"$v.CLASS_NAME at key $k, with ^p._count[] option"} }]