More consistent handling of radix letters
commitbea0bbb62c9947421bc0fddcd2b58a40435e2181
authorH. Peter Anvin <hpa@zytor.com>
Mon, 22 Oct 2007 23:53:48 +0000 (22 16:53 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 22 Oct 2007 23:53:48 +0000 (22 16:53 -0700)
tree21623213cc08b04a9eb771b2a46bb1e057a1948c
parent3b2ad1bc370653e90d6b2fa9cfc587a7aea405f3
More consistent handling of radix letters

Allow any radix letter from the set [bydtoqhx] to be used either
"Intel-style" (0...x) or "C-style" (0x...).  In Intel style, the
leading 0 remains optional as long as the first digit is in the range
0-9.

As a consequence, allow the prefix "0h" for hexadecimal floating
point.
float.c
nasmlib.c
stdscan.c
test/floatx.asm
test/radix.asm [new file with mode: 0644]