From: Christoph Mallon Date: Sat, 5 Feb 2011 09:04:00 +0000 (+0000) Subject: Correct typo in label name. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=99b7e1d870a9db59413f747b251eaeeadf75e9f6;p=cparser Correct typo in label name. [r28306] --- diff --git a/parser.c b/parser.c index 8115cb6..dc93e3c 100644 --- a/parser.c +++ b/parser.c @@ -2885,10 +2885,10 @@ check_thread_storage_class: break; char const* wrong; - case STORAGE_CLASS_AUTO: wrong = "auto"; goto wrong_thread_stoarge_class; - case STORAGE_CLASS_REGISTER: wrong = "register"; goto wrong_thread_stoarge_class; - case STORAGE_CLASS_TYPEDEF: wrong = "typedef"; goto wrong_thread_stoarge_class; -wrong_thread_stoarge_class: + case STORAGE_CLASS_AUTO: wrong = "auto"; goto wrong_thread_storage_class; + case STORAGE_CLASS_REGISTER: wrong = "register"; goto wrong_thread_storage_class; + case STORAGE_CLASS_TYPEDEF: wrong = "typedef"; goto wrong_thread_storage_class; +wrong_thread_storage_class: errorf(HERE, "'__thread' used with '%s'", wrong); break; }