mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 18:29:27 +02:00
[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:
parent
4a4a024eb6
commit
d881c155b1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user