qfox/Zeon — Issue #7: Possible `disambiguate` bug
Author: mathiasbynens
Created: 2012-02-22 11:02:19+00:00
State: open

```js
var zeon = new Zeon('a = b <= c ? d : (b >= c + e ? e : b - c)', Zeon.getNewConfig());
zeon.parse();
zeon.startProcess();
zeon.disambiguate();
zeon.btree.map(function(t) {
return t.value;
}).join(''); // 'a=((b<=c)?d:((b>=(c+e))?e:b-c))'
```

But…

```js
var zeon = new Zeon('a = b <= c ? d : b >= c + e ? e : b - c', Zeon.getNewConfig());
zeon.parse();
zeon.startProcess();
zeon.disambiguate();
zeon.btree.map(function(t) {
return t.value;
}).join(''); // 'a=((b<=c)?d:(b>=(c+e))?e:b-c)'
```

Shouldn’t both return the same string?