freebsd-nq/usr.bin/indent/tests
Piotr Pawel Stefaniak bd2969a00d indent(1): Support binary integer literals.
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)
2017-05-18 17:15:58 +00:00
..
binary.0 indent(1): Support binary integer literals. 2017-05-18 17:15:58 +00:00
binary.0.stdout indent(1): Support binary integer literals. 2017-05-18 17:15:58 +00:00
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 indent(1): Support binary integer literals. 2017-05-18 17:15:58 +00:00
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