commit | eb54a36817469213d762e445d94d0be35681d70d | [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 | 79cae25a8ddf32ec4356f9faff02bd6756ec7a1b [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