Improve error recovery in parse_compound_statement().
authorChristoph Mallon <christoph.mallon@gmx.de>
Thu, 26 Apr 2012 12:53:09 +0000 (14:53 +0200)
committerChristoph Mallon <christoph.mallon@gmx.de>
Thu, 26 Apr 2012 13:19:18 +0000 (15:19 +0200)
commitc080950de05aa3e3e2adf8835387b5d0112bb868
tree12cc42708813861b3c8f4fbdfb720422f15129ad
parent48047e0db53c86b0d6330ff7770d00b723d0bc48
Improve error recovery in parse_compound_statement().

- Handle EOF generically with expect().
- Do not skip semantic checks, when breaking out of the parsing loop due to an error.
parser.c