diff options
author | Mihai Bazon <mihai@bazon.net> | 2014-04-27 20:54:54 +0300 |
---|---|---|
committer | Mihai Bazon <mihai@bazon.net> | 2014-04-27 20:54:54 +0300 |
commit | 025f3e9596e336ed4367d8621c920a236d6e4c17 (patch) | |
tree | 42dc8a57591f9c1d4ccc33e37e196ee62a919cc9 /lib/output.js | |
parent | 8258edd8a54cd5ed5d15a3a674f2cc716b304aeb (diff) | |
download | tracifyjs-025f3e9596e336ed4367d8621c920a236d6e4c17.tar.gz tracifyjs-025f3e9596e336ed4367d8621c920a236d6e4c17.zip |
Better fix for #475
Diffstat (limited to 'lib/output.js')
-rw-r--r-- | lib/output.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/output.js b/lib/output.js index 4a3bfd53..26f230af 100644 --- a/lib/output.js +++ b/lib/output.js @@ -456,7 +456,7 @@ function OutputStream(options) { PARENS(AST_Unary, function(output){ var p = output.parent(); return (p instanceof AST_PropAccess && p.expression === this) - || (p instanceof AST_Unary && p.operator == "+" && this.operator == "+"); + || (p instanceof AST_Unary && p.operator == this.operator); }); PARENS(AST_Seq, function(output){ |