bd2969a00d
This was done by Romain Tartière for PR123553. I initially thought that it would break code like this: #define b00101010 -1 if (0 b00101010) ... by joining 0 and b00101010 together. However, the real problem with that patch was that once it saw a 0, it assumed that the number was base 2, 8 or 16, ignoring base 10 floating point numbers. I fixed that. I didn't copy the diagnostic part of the original patch as it seems out of scope of implementing binary integer literals formatting. PR: 123553 Submitted by: romain (original version) Approved by: pfg (mentor) |
||
---|---|---|
.. | ||
binary.0 | ||
binary.0.stdout | ||
comments.0 | ||
comments.0.stdout | ||
declarations.0 | ||
declarations.0.stdout | ||
elsecomment.0 | ||
elsecomment.0.pro | ||
elsecomment.0.stdout | ||
float.0 | ||
float.0.stdout | ||
functional_test.sh | ||
label.0 | ||
label.0.pro | ||
label.0.stdout | ||
list_head.0 | ||
list_head.0.stdout | ||
Makefile | ||
nsac.0 | ||
nsac.0.pro | ||
nsac.0.stdout | ||
offsetof.0 | ||
offsetof.0.stdout | ||
sac.0 | ||
sac.0.pro | ||
sac.0.stdout | ||
struct.0 | ||
struct.0.stdout | ||
surplusbad.0 | ||
surplusbad.0.pro | ||
surplusbad.0.stdout | ||
types_from_file.0 | ||
types_from_file.0.list | ||
types_from_file.0.pro | ||
types_from_file.0.stdout | ||
wchar.0 | ||
wchar.0.stdout |