In the case of an "Unmatched {" error, it flags the { on
the line we wrap the user's code in. That doesn't help the
user.
This fix moves such an error to the first valid { in the file.
It handles ignoring { in comments or strings. It fails to ignore
{ inside regex. But that's an edge case on top of an edge case.