ariya/esprima — pull request #24 by WolfgangKluge (2012-02-28 00:58:11+00:00)
Title: generate() fails on consecutive unary expressions

The generated output of expressions like `-(-1)` is `--1`.
This is a fix for it.

I tried to change generateExpression() in a way that no superfluous parenthesis are generated.
So `+(-1)` becomes `+-1` and `typeof typeof 1` remains constant.

http://code.google.com/p/esprima/issues/detail?id=198