diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-05-20 14:49:32 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-05-20 14:49:32 -0700 |
commit | 3be5d859139b8bf1ed6b8a9833eed99d016cd257 (patch) | |
tree | 4a3e06286e4eeb324ef64761816b60b8854a8be9 /parser.c | |
parent | 0c648204e2599958dffd8d4375b6b220980990eb (diff) | |
download | nasm-3be5d859139b8bf1ed6b8a9833eed99d016cd257.tar.gz nasm-3be5d859139b8bf1ed6b8a9833eed99d016cd257.tar.bz2 nasm-3be5d859139b8bf1ed6b8a9833eed99d016cd257.zip |
No 32-byte floating point format: fix error for DY
Output a more legible error message for floating-point with "DY".
Diffstat (limited to 'parser.c')
-rw-r--r-- | parser.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -401,6 +401,11 @@ restart_parse: case I_DO: eop->stringlen = 16; break; + case I_DY: + error(ERR_NONFATAL, "floating-point constant" + " encountered in DY instruction"); + eop->stringlen = 0; + break; default: error(ERR_NONFATAL, "floating-point constant" " encountered in unknown instruction"); |