Commit 498e1ab1 by Dave Pitts Committed by Richard Henderson

* cplus-dem.c (cplus_demangle_opname): Changed to use islower.

From-SVN: r33189
parent c94c9817
2000-04-16 Dave Pitts <dpitts@cozx.com>
* cplus-dem.c (cplus_demangle_opname): Changed to use islower.
2000-04-05 Richard Henderson <rth@cygnus.com> 2000-04-05 Richard Henderson <rth@cygnus.com>
* splay-tree.c (splay_tree_remove): New. * splay-tree.c (splay_tree_remove): New.
......
...@@ -636,8 +636,8 @@ cplus_demangle_opname (opname, result, options) ...@@ -636,8 +636,8 @@ cplus_demangle_opname (opname, result, options)
} }
} }
else if (opname[0] == '_' && opname[1] == '_' else if (opname[0] == '_' && opname[1] == '_'
&& opname[2] >= 'a' && opname[2] <= 'z' && islower(opname[2])
&& opname[3] >= 'a' && opname[3] <= 'z') && islower(opname[3]))
{ {
if (opname[4] == '\0') if (opname[4] == '\0')
{ {
...@@ -4188,8 +4188,8 @@ demangle_function_name (work, mangled, declp, scan) ...@@ -4188,8 +4188,8 @@ demangle_function_name (work, mangled, declp, scan)
} }
} }
else if (declp->b[0] == '_' && declp->b[1] == '_' else if (declp->b[0] == '_' && declp->b[1] == '_'
&& declp->b[2] >= 'a' && declp->b[2] <= 'z' && islower(declp->b[2])
&& declp->b[3] >= 'a' && declp->b[3] <= 'z') && islower(declp->b[3]))
{ {
if (declp->b[4] == '\0') if (declp->b[4] == '\0')
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment