diff options
Diffstat (limited to 'lib/output.js')
-rw-r--r-- | lib/output.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/output.js b/lib/output.js index fc592d60..58521e3c 100644 --- a/lib/output.js +++ b/lib/output.js @@ -671,9 +671,7 @@ function OutputStream(options) { } }; - PARENS(AST_Node, function(){ - return false; - }); + PARENS(AST_Node, return_false); // a function expression needs parens around it when it's provably // the first token to appear in a statement. @@ -699,9 +697,7 @@ function OutputStream(options) { // same goes for an object literal, because otherwise it would be // interpreted as a block of code. - PARENS(AST_Object, function(output){ - return first_in_statement(output); - }); + PARENS(AST_Object, first_in_statement); PARENS(AST_Unary, function(output){ var p = output.parent(); |