gcc/ChangeLog:

        * pretty-print.c (pp_take_prefix): Fix spelling in comment.

Committed to master as obvious.


commit 04e88369a7d95492efccf8f527d27cca74664ea7
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Thu Apr 30 14:42:24 2020 +0100

    diagnostics: Fix spelling in comment
    
    gcc/ChangeLog:
    
            * pretty-print.c (pp_take_prefix): Fix spelling in comment.

diff --git a/gcc/pretty-print.c b/gcc/pretty-print.c
index d0dd9cbd416..407f7300dfb 100644
--- a/gcc/pretty-print.c
+++ b/gcc/pretty-print.c
@@ -1595,7 +1595,7 @@ pp_set_prefix (pretty_printer *pp, char *prefix)
 }
 
 /* Take ownership of PP's prefix, setting it to NULL.
-   This allows clients to save, overide, and then restore an existing
+   This allows clients to save, override, and then restore an existing
    prefix, without it being free-ed.  */
 
 char *

Reply via email to