Allow underscores in numbers; better detection of FP
commit2ef4aac272ff0d2ac0bf630f11e6d8d3e19b27d5
authorH. Peter Anvin <hpa@zytor.com>
Fri, 19 Oct 2007 20:10:46 +0000 (19 13:10 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 19 Oct 2007 20:10:46 +0000 (19 13:10 -0700)
tree1fb0b1e1b0116950ba3836ea9a4fda9edba1f939
parenta8eace2b79b1068e54c4af93c41b6e58ba879b83
Allow underscores in numbers; better detection of FP

- Allow underscores as group separators in numbers, for example:
  0x1234_5678 is now a legal number.  The underscore is just ignored,
  it adds no meaning.
- Recognize dotless floating-point numbers, such as "1e30".  This
  entails distinguishing hexadecimal numbers in the scanner, since
  e.g. 0x1e30 is a perfectly legitimate hex constant.
float.c
nasmlib.c
stdscan.c