]> granicus.if.org Git - clang/commit
simplify some code by using ExpectAndConsume. When an error
authorChris Lattner <sabre@nondot.org>
Mon, 20 Oct 2008 06:15:13 +0000 (06:15 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 20 Oct 2008 06:15:13 +0000 (06:15 +0000)
commita1fed7e3beebf9bb1bc85123f283be3eb631c120
tree2aa57c4e27d0f846d26bb9dac37f96941643080b
parentbc662afa1cb9b61cb1e7808bb1463dd6291b8095
simplify some code by using ExpectAndConsume.  When an error
occurs, skip to an @ or ; instead of to a } or ;.  Properties
don't necessarily live in {}'s.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57804 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseObjc.cpp