diff mbox

Tiny documentation update in diagnostic.c

Message ID 1306257141.113517280@www2.webmail.us
State New
Headers show

Commit Message

Nicola Pero May 24, 2011, 5:12 p.m. UTC
Ok to commit ?

Thanks

    Returns true if the warning was printed, false if it was inhibited.  */
diff mbox

Patch

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,...)".