What do you think of adding a ```lastParen``` variable here:
```js
case  40:
    parenLevel++;
    lastParen = parserCurrentIndex;
    continue;
```
Then on line 482:
```js
 return fail("missing closing `)`",lastParen);
```