aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/output.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/output.js b/lib/output.js
index 2a177684..321c7222 100644
--- a/lib/output.js
+++ b/lib/output.js
@@ -468,6 +468,11 @@ function OutputStream(options) {
}
});
+ PARENS(AST_PropAccess, function(output){
+ var p = output.parent();
+ return p instanceof AST_New && p.expression === this;
+ });
+
PARENS(AST_Call, function(output){
var p = output.parent();
return p instanceof AST_New && p.expression === this;