diagnostics: Fix spelling in comment
authorJonathan Wakely <jwakely@redhat.com>
Thu, 30 Apr 2020 13:42:24 +0000 (14:42 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 30 Apr 2020 13:43:30 +0000 (14:43 +0100)
gcc/ChangeLog:

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

gcc/ChangeLog
gcc/pretty-print.c

index f83e7ac..a099eed 100644 (file)
@@ -1,3 +1,7 @@
+2020-04-30  Jonathan Wakely  <jwakely@redhat.com>
+
+       * pretty-print.c (pp_take_prefix): Fix spelling in comment.
+
 2020-04-30  Marek Polacek  <polacek@redhat.com>
 
        PR c++/94775
index d0dd9cb..407f730 100644 (file)
@@ -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 *