This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Tiny documentation update in diagnostic.c


Ok to commit ?

Thanks

Index: ChangeLog
===================================================================
--- ChangeLog   (revision 174112)
+++ ChangeLog   (working copy)
@@ -1,3 +1,15 @@
+2011-05-24  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * diagnostic.c (pedwarn): Updated comment.
+
Index: diagnostic.c
===================================================================
--- diagnostic.c        (revision 174112)
+++ diagnostic.c        (working copy)
@@ -701,8 +701,9 @@
    Note that these diagnostics are issued independent of the setting
    of the -pedantic command-line switch.  To get a warning enabled
    only with that switch, use either "if (pedantic) pedwarn
-   (OPT_pedantic,...)" or just "pedwarn (OPT_pedantic,..)".  To get a
-   pedwarn independently of the -pedantic switch use "pedwarn (0,...)".
+   (,OPT_pedantic,...)" or just "pedwarn (,OPT_pedantic,..)".  To get
+   a pedwarn independently of the -pedantic switch use "pedwarn
+   (,0,...)".
 
    Returns true if the warning was printed, false if it was inhibited.  */
 



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]