commit | 70f16246dc0be87dabc42e6ef78b0fbfae3a7388 | [log] [tgz] |
---|---|---|
author | Steve Naroff <snaroff@apple.com> | Fri Feb 29 21:48:07 2008 +0000 |
committer | Steve Naroff <snaroff@apple.com> | Fri Feb 29 21:48:07 2008 +0000 |
tree | 3a7c23c3c4f6bfecb862878f1537232445b9a753 | |
parent | 9b2e0f98328ac9d4b7d1d88fc38de4374fa69115 [diff] [blame] |
Fix http://llvm.org/bugs/show_bug.cgi?id=2106. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47768 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Parse/ParseObjc.cpp b/Parse/ParseObjc.cpp index 24d6309..816d2bf 100644 --- a/Parse/ParseObjc.cpp +++ b/Parse/ParseObjc.cpp
@@ -1240,7 +1240,7 @@ // We should have an opening brace now. if (Tok.isNot(tok::l_brace)) { - Diag(Tok, diag::err_expected_fn_body); + Diag(Tok, diag::err_expected_method_body); // Skip over garbage, until we get to '{'. Don't eat the '{'. SkipUntil(tok::l_brace, true, true);