commit | 90b93d6f6961edd8f17e089253d655892adc1ef7 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Dec 08 21:59:01 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Dec 08 21:59:01 2008 +0000 |
tree | 148d7abf3fafffafc362bf9653d0c5bf1d7b720f | |
parent | 891dca671a80c865c6def7259f170ba785e4faaa [diff] |
Fix PR3172: if we see an eof or } at the top level, reject it. This is important because ParseDeclarationOrFunctionDefinition skips to, but does not consume, an } on error. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60719 91177308-0d34-0410-b5e6-96231b3b80d8