summaryrefslogtreecommitdiff
path: root/libiberty/cplus-dem.c
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2024-10-31 17:57:45 +0100
committerMark Wielaard <mark@klomp.org>2024-10-31 22:07:18 +0100
commitaa84020b2edbab18c98e4e1faa1dfec7bad9d179 (patch)
treecad6910de6524779401f8d84570e4d4a7e2c33fd /libiberty/cplus-dem.c
parenta00a0e34b8a7312bcf357bd0238d6d9711ca96b2 (diff)
libiberty: Fix comment typos
These comment typos were found in the valgrind fork of libiberty demangle code. libiberty/ChangeLog: * cplus-dem.c: Change preceeded to preceded. include/ChangeLog: * safe-ctype.h: Change accidently to accidentally.
Diffstat (limited to 'libiberty/cplus-dem.c')
-rw-r--r--libiberty/cplus-dem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/cplus-dem.c b/libiberty/cplus-dem.c
index ee9e84f5d6b..e67ae930049 100644
--- a/libiberty/cplus-dem.c
+++ b/libiberty/cplus-dem.c
@@ -215,7 +215,7 @@ ada_demangle (const char *mangled, int option ATTRIBUTE_UNUSED)
goto unknown;
/* Most of the demangling will trivially remove chars. Operator names
- may add one char but because they are always preceeded by '__' which is
+ may add one char but because they are always preceded by '__' which is
replaced by '.', they eventually never expand the size.
A few special names such as '___elabs' add a few chars (at most 7), but
they occur only once. */