On Mar 20, 2013, at 11:09 , Fariborz Jahanian <[email protected]> wrote:
> + Tok.setLocation(Tok.getLocation().getLocWithOffset(-1)); > + Tok.setKind(tok::at); > + Tok.setLength(1); This is not correct; Objective-C keywords can (sadly) be spelled with spaces. Is it possible to just keep the original token around instead of overwriting it when you read the next token? Also, I'm not sure the implicit '}' is a good idea for anything but @end. If someone does make a typo writing @public, there'll be an unexpected close-brace later.
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
