Commit da8309c6 by Tobias Schlüter Committed by Tobias Schlüter

primary.c (check_digit): Call 'ISXDIGIT' instead of assuming ASCII-like character encoding.

* primary.c (check_digit): Call 'ISXDIGIT' instead of assuming
ASCII-like character encoding.

From-SVN: r93713
parent 4b8a70aa
2005-01-15 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de
* primary.c (check_digit): Call 'ISXDIGIT' instead of assuming
ASCII-like character encoding.
2005-01-14 Steven G. Kargl <kargls@comcast.net> 2005-01-14 Steven G. Kargl <kargls@comcast.net>
* resolve.c (compare_case): Cleanup. * resolve.c (compare_case): Cleanup.
......
/* Primary expression subroutines /* Primary expression subroutines
Copyright (C) 2000, 2001, 2002, 2004 Free Software Foundation, Inc. Copyright (C) 2000, 2001, 2002, 2004, 2005 Free Software Foundation,
Inc.
Contributed by Andy Vaught Contributed by Andy Vaught
This file is part of GCC. This file is part of GCC.
...@@ -114,7 +115,7 @@ check_digit (int c, int radix) ...@@ -114,7 +115,7 @@ check_digit (int c, int radix)
break; break;
case 16: case 16:
r = ('0' <= c && c <= '9') || ('a' <= c && c <= 'f'); r = ISXDIGIT (c);
break; break;
default: default:
......
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