From 498e1ab1486612e475827e5e2d616800ce665e9d Mon Sep 17 00:00:00 2001 From: Dave Pitts Date: Mon, 17 Apr 2000 00:51:19 +0000 Subject: * cplus-dem.c (cplus_demangle_opname): Changed to use islower. From-SVN: r33189 --- libiberty/cplus-dem.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libiberty/cplus-dem.c') 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') { -- cgit v1.1