diff options
author | Dave Pitts <dpitts@cozx.com> | 2000-04-17 00:51:19 +0000 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2000-04-16 17:51:19 -0700 |
commit | 498e1ab1486612e475827e5e2d616800ce665e9d (patch) | |
tree | c768769e57b0da65cb62d4f6973aa60ad9497a7e /libiberty/cplus-dem.c | |
parent | c94c981720869f68bb1e2b2c48e615849c338e7e (diff) | |
download | gcc-498e1ab1486612e475827e5e2d616800ce665e9d.zip gcc-498e1ab1486612e475827e5e2d616800ce665e9d.tar.gz gcc-498e1ab1486612e475827e5e2d616800ce665e9d.tar.bz2 |
* cplus-dem.c (cplus_demangle_opname): Changed to use islower.
From-SVN: r33189
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 52249d2..0c49c55 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') { |