Re: Patch fixing PR objc/48187

2011-05-24 Thread Mike Stump
On May 24, 2011, at 10:06 AM, Nicola Pero wrote: > This routine patch fixes PR objc/48187. > Ok to commit ? Ok.

Patch fixing PR objc/48187

2011-05-24 Thread Nicola Pero
This routine patch fixes PR objc/48187. The problem is that the following code @interface A { ] } @end would cause the ObjC parser to enter into an infinite loop. The parser fails to parse ] as an instance variable, but then when it tries to skip to the next semicolon to resume parsing from t