mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 12:39:24 +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
|
wnfNo, // other than number
|
||||||
wnfInteger, // 00
|
wnfInteger, // 00
|
||||||
wnfHex, // 0xABC
|
wnfHex, // 0xABC
|
||||||
wnfFloat // 0.000
|
wnfFloat, // 0.000
|
||||||
|
wnfFloatHex // 0x000.bced
|
||||||
);
|
);
|
||||||
|
|
||||||
{ TWatScanner }
|
{ TWatScanner }
|
||||||
@ -266,6 +267,7 @@ begin
|
|||||||
token:=weNumber;
|
token:=weNumber;
|
||||||
case fmt of
|
case fmt of
|
||||||
nfFloat: numformat := wnfFloat;
|
nfFloat: numformat := wnfFloat;
|
||||||
|
nfFloatHex: numFormat := wnfFloatHex;
|
||||||
nfHex: numformat := wnfHex;
|
nfHex: numformat := wnfHex;
|
||||||
else
|
else
|
||||||
numformat := wnfInteger;
|
numformat := wnfInteger;
|
||||||
|
Loading…
Reference in New Issue
Block a user