1.1 --- a/test/script/basic/NASHORN-737.js.EXPECTED Thu Sep 12 17:13:59 2013 +0200 1.2 +++ b/test/script/basic/NASHORN-737.js.EXPECTED Thu Sep 12 22:16:40 2013 +0530 1.3 @@ -1,1 +1,36 @@ 1.4 -{"type":"Program","rest":null,"body":[{"type":"LabeledStatement","label":{"type":"Identifier","name":"label"},"body":{"type":"BlockStatement","body":[{"type":"WhileStatement","test":{"type":"Literal","value":true},"block":{"type":"BlockStatement","body":[{"type":"BreakStatement","label":"label"}]}}]}}]} 1.5 +{ 1.6 + "type": "Program", 1.7 + "body": [ 1.8 + { 1.9 + "type": "LabeledStatement", 1.10 + "label": { 1.11 + "type": "Identifier", 1.12 + "name": "label" 1.13 + }, 1.14 + "body": { 1.15 + "type": "BlockStatement", 1.16 + "body": [ 1.17 + { 1.18 + "type": "WhileStatement", 1.19 + "test": { 1.20 + "type": "Literal", 1.21 + "value": true 1.22 + }, 1.23 + "body": { 1.24 + "type": "BlockStatement", 1.25 + "body": [ 1.26 + { 1.27 + "type": "BreakStatement", 1.28 + "label": { 1.29 + "type": "Identifier", 1.30 + "name": "label" 1.31 + } 1.32 + } 1.33 + ] 1.34 + } 1.35 + } 1.36 + ] 1.37 + } 1.38 + } 1.39 + ] 1.40 +}