summaryrefslogtreecommitdiff
path: root/tokens.dat
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-09-24 12:30:54 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-09-24 12:30:54 -0700
commitdc467ba8af91f21994e10bedd133f4423e14862b (patch)
tree6cd105090380ba3b7011a21bcf6329b26aaddd6c /tokens.dat
parent5f77c031fa39bb96ce2240fbfd1c5465e1208e09 (diff)
downloadnasm-dc467ba8af91f21994e10bedd133f4423e14862b.tar.gz
nasm-dc467ba8af91f21994e10bedd133f4423e14862b.tar.bz2
nasm-dc467ba8af91f21994e10bedd133f4423e14862b.zip
Support __float*__ for floating-point numbers in expressions
Add special operators to allow the use of floating-point constants in contexts other than DW/DD/DQ/DT/DO. As part of this checkin, make MAX_KEYWORD generated by tokhash.pl, since it knows what all the keywords are so it can tell which one is the longest.
Diffstat (limited to 'tokens.dat')
-rw-r--r--tokens.dat9
1 files changed, 9 insertions, 0 deletions
diff --git a/tokens.dat b/tokens.dat
index e7c1cb2..eb7fa11 100644
--- a/tokens.dat
+++ b/tokens.dat
@@ -38,6 +38,15 @@ __nan__
__qnan__
__snan__
+% TOKEN_FLOATIZE, 0, FLOAT_{__float*__}
+__float16__
+__float32__
+__float64__
+__float80m__
+__float80e__
+__float128l__
+__float128h__
+
% TOKEN_*, 0, 0
seg
wrt