From patchwork Mon Jun 28 19:05:58 2010
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: Fix comment in c-family/c-common.h
From: Andrew Pinski
X-Patchwork-Id: 57183
Message-Id:
To: GCC Patches
Date: Mon, 28 Jun 2010 12:05:58 -0700
I caught this comment fix when I was looking at c-common.h.
diagnostic-core.h is now the file which contains error/warning/sorry
rather than toplev.h.
OK?
Thanks,
Andrew Pinski
ChangeLog:
* c-common.h: Update comment for the location change of the diagnostic
functions.
Index: c-family/c-common.h
===================================================================
--- c-family/c-common.h (revision 161509)
+++ c-family/c-common.h (working copy)
@@ -28,9 +28,9 @@ along with GCC; see the file COPYING3.
/* In order for the format checking to accept the C frontend
diagnostic framework extensions, you must include this file before
- toplev.h, not after. The C front end formats are a subset of those
- for C++, so they are the appropriate set to use in common code;
- cp-tree.h overrides this for C++. */
+ diagnostic-core.h, not after. The C front end formats are a subset
+ of those for C++, so they are the appropriate set to use in common
+ code; cp-tree.h overrides this for C++. */
#ifndef GCC_DIAG_STYLE
#define GCC_DIAG_STYLE __gcc_cdiag__
#endif