readnum(): handle prefix-suffix collision like "0h"
commit083f0c32e7528e09c92e793f235d40919ca193c1
authorH. Peter Anvin <hpa@zytor.com>
Sat, 27 Oct 2007 04:38:02 +0000 (26 21:38 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sat, 27 Oct 2007 04:38:02 +0000 (26 21:38 -0700)
tree529077bbc83544a361cd496e8f65bb73fa194acc
parentc13d31a907a5d8406b9f07bb782db76e56634c2d
readnum(): handle prefix-suffix collision like "0h"

Suffixed versions of zero will look like both a prefix and a suffix.
Reject the prefixed version as being too short to decode.
nasmlib.c
test/radix.asm