[PATCH 171/188] adding float hex format

From b70802cffbdda9ac30dc772ba1be7ea62656880d Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Fri, 27 Mar 2020 14:25:54 -0400

git-svn-id: branches/wasm@46167 -
This commit is contained in:
nickysn 2020-08-03 13:02:01 +00:00
parent 4a4a024eb6
commit d881c155b1

View File

@ -29,7 +29,8 @@ type
wnfNo, // other than number
wnfInteger, // 00
wnfHex, // 0xABC
wnfFloat // 0.000
wnfFloat, // 0.000
wnfFloatHex // 0x000.bced
);
{ TWatScanner }
@ -266,6 +267,7 @@ begin
token:=weNumber;
case fmt of
nfFloat: numformat := wnfFloat;
nfFloatHex: numFormat := wnfFloatHex;
nfHex: numformat := wnfHex;
else
numformat := wnfInteger;