(readescape): No warning if digits in \x are all 0's.
From-SVN: r2318
This commit is contained in:
parent
bf15a311e9
commit
be63d91206
@ -845,6 +845,9 @@ readescape (ignore_ptr)
|
||||
}
|
||||
if (! nonnull)
|
||||
error ("\\x used with no following hex digits");
|
||||
else if (count == 0)
|
||||
/* Digits are all 0's. Ok. */
|
||||
;
|
||||
else if ((count - 1) * 4 >= TYPE_PRECISION (integer_type_node)
|
||||
|| (count > 1
|
||||
&& ((1 << (TYPE_PRECISION (integer_type_node) - (count - 1) * 4))
|
||||
|
Loading…
Reference in New Issue
Block a user