aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2020-04-30 14:42:24 +0100
committerJonathan Wakely <jwakely@redhat.com>2020-04-30 14:43:30 +0100
commit04e88369a7d95492efccf8f527d27cca74664ea7 (patch)
treea1c5cd11911900e654711ad19b6e9d1c50b019fe /gcc
parent6318fe77395fc0dd59419bc4d69cd06ac0158e54 (diff)
downloadgcc-04e88369a7d95492efccf8f527d27cca74664ea7.zip
gcc-04e88369a7d95492efccf8f527d27cca74664ea7.tar.gz
gcc-04e88369a7d95492efccf8f527d27cca74664ea7.tar.bz2
diagnostics: Fix spelling in comment
gcc/ChangeLog: * pretty-print.c (pp_take_prefix): Fix spelling in comment.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/pretty-print.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f83e7ac..a099eed 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/pretty-print.c b/gcc/pretty-print.c
index d0dd9cb..407f730 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 *