Chris Lattner
|
3e4683262e
|
implement simple support for arbitrary token lookahead. Change the
objc @try parser to use it, fixing a FIXME. Update the
objc-try-catch-1.m file to pass now that we get more reasonable
errors.
llvm-svn: 48129
|
2008-03-10 06:06:04 +00:00 |
Steve Naroff
|
e6016798bf
|
Fix Parser::ParseObjCTryStmt() to allow for trailing @-keyword statements/expressions.
This bug fix is the result of not having 2-token lookahead to recognize specific @-keywords.
llvm-svn: 46768
|
2008-02-05 21:27:35 +00:00 |
Chris Lattner
|
5e530bcee3
|
- Use Tok.isObjCAtKeyword instead of Tok.getIdentifierInfo()->getObjCKeywordID().
The later fails if the token is not an identifier.
- Replace tabs with spaces.
- Various other cleanups.
Patch by Nico Weber!
llvm-svn: 45368
|
2007-12-27 19:57:00 +00:00 |
Fariborz Jahanian
|
9081457cbf
|
this patch accomodates clattner's comments on expression processing in @try-statement.
llvm-svn: 42611
|
2007-10-04 20:19:06 +00:00 |
Fariborz Jahanian
|
62fd2b4730
|
Patch to parse objective-c's @try-statement and @throw-statement.
llvm-svn: 42148
|
2007-09-19 19:14:32 +00:00 |