commit | 36d36806f1972f7ec1d2a3f59155187278c56508 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Thu Jun 17 10:52:18 2010 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Thu Jun 17 10:52:18 2010 +0000 |
tree | 192bc210f97918d96aa56b1f9e3bd8bc273dfe8f | |
parent | 2574f6f35a54c1c1b5bcef1e69417fe58f566c11 [diff] |
Make sure parens/braces/brackets are correctly balanced. In a line like: (; the semicolon leaves Parser:ParenCount unbalanced (it's 1 even though we stopped looking for a right paren). This may affect later parsing and result in bad recovery for parsing errors. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106213 91177308-0d34-0410-b5e6-96231b3b80d8