r177435 - Objective-C [qoi]: Provide improved parse diagnostics when

jahanian fjahanian at apple.com
Tue Mar 19 14:21:04 PDT 2013


On Mar 19, 2013, at 1:42 PM, Jordan Rose <jordan_rose at apple.com> wrote:

> 
> Would it make sense to not just continue but to pretend instead that the '}' is there? I feel like that will give us better recovery. (You'd eliminate those last two errors: "expected '}'" and "missing '@end'".)

I think by 'pretending' you mean insert a '}' before @end and continue. I thought about this but  I did not want to introduce the bookkeeping
overhead for the correct case. Do you have a suggestion how to pretend without adding this overhead?
- Fariborz

> 
> Jordan
> 




More information about the cfe-commits mailing list