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 f83e7ac13defc856df58253c855a1aeae0ccc0e6..a099eed75a64182fa541cd33ea4ed3eb455de59e 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 d0dd9cbd4165c6021f054c52dda001937c302667..407f7300dfbe56e22eae22880ce3e905b2f28e06 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 *