[PATCH] Fix comment in c-family/c-common.h

Andrew Pinski pinskia@gmail.com
Mon Jun 28 20:04:00 GMT 2010


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.
-------------- next part --------------
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


More information about the Gcc-patches mailing list