aboutsummaryrefslogtreecommitdiff
path: root/lib/parse.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/parse.js')
-rw-r--r--lib/parse.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/parse.js b/lib/parse.js
index 416c363a..9c3f3fb1 100644
--- a/lib/parse.js
+++ b/lib/parse.js
@@ -892,7 +892,7 @@ function parse($TEXT, exigent_mode) {
S.labels.push(label);
var start = S.token, stat = statement();
S.labels.pop();
- return new AST_LabeledStatement({ statement: stat, label: label });
+ return new AST_LabeledStatement({ body: stat, label: label });
};
function simple_statement() {