Kaydet (Commit) 7439af47 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#982297 EBCDIC-related cleanup

Change-Id: I8da7911c342ffe114d7b25b996602aabed7aa1ed
üst cb2d414f
......@@ -49,8 +49,7 @@ void InitCpp4()
* the formal parameter name is encountered in the replacement
* string, it is replaced by a character in the range 128 to
* 128+NPARAM (this allows up to 32 parameters within the
* Dec Multinational range). If cpp is ported to an EBCDIC
* machine, you will have to make other arrangements.
* Dec Multinational range).
*
* There is some special case code to distinguish
* #define foo bar
......
......@@ -741,7 +741,7 @@ FILE_LOCAL int evalchar(int skip)
(--count >= 0))
{
value *= 16;
value += (c >= '0') ? (c - '0') : ((c & 0xF) + 9);
value += (c - '0');
}
unget();
break;
......
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