From c0ba9e29861ab08ad8a5131705f421e96d634f4b Mon Sep 17 00:00:00 2001 From: Mihai Bazon Date: Wed, 15 Aug 2012 13:32:37 +0300 Subject: WIP --- lib/parse.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/parse.js') diff --git a/lib/parse.js b/lib/parse.js index 9dcfa635..2cd160fa 100644 --- a/lib/parse.js +++ b/lib/parse.js @@ -739,13 +739,13 @@ function parse($TEXT, exigent_mode) { case "punc": switch (S.token.value) { case "{": - return new AST_Statement({ body: block_() }); + return new AST_BlockStatement({ body: block_() }); case "[": case "(": return simple_statement(); case ";": next(); - return new AST_Statement(); + return new AST_EmptyStatement(); default: unexpected(); } -- cgit v1.2.3