diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-04-17 00:51:19 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-04-17 00:51:19 +0000 |
commit | 6ea8a8641c0ae43cba3bf2443980a6e4586a7220 (patch) | |
tree | c768769e57b0da65cb62d4f6973aa60ad9497a7e /libiberty/cplus-dem.c | |
parent | 061cd933b9dfd34d7926aa47a9d46ac8121e6d01 (diff) | |
download | gcc-6ea8a8641c0ae43cba3bf2443980a6e4586a7220.tar.gz |
* cplus-dem.c (cplus_demangle_opname): Changed to use islower.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33189 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/cplus-dem.c')
-rw-r--r-- | libiberty/cplus-dem.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libiberty/cplus-dem.c b/libiberty/cplus-dem.c index 52249d2b580..0c49c55ff6e 100644 --- a/libiberty/cplus-dem.c +++ b/libiberty/cplus-dem.c @@ -636,8 +636,8 @@ cplus_demangle_opname (opname, result, options) } } else if (opname[0] == '_' && opname[1] == '_' - && opname[2] >= 'a' && opname[2] <= 'z' - && opname[3] >= 'a' && opname[3] <= 'z') + && islower(opname[2]) + && islower(opname[3])) { if (opname[4] == '\0') { @@ -4188,8 +4188,8 @@ demangle_function_name (work, mangled, declp, scan) } } else if (declp->b[0] == '_' && declp->b[1] == '_' - && declp->b[2] >= 'a' && declp->b[2] <= 'z' - && declp->b[3] >= 'a' && declp->b[3] <= 'z') + && islower(declp->b[2]) + && islower(declp->b[3])) { if (declp->b[4] == '\0') { |