From 4de0035d774296eea718114c6392e0264ec4f952 Mon Sep 17 00:00:00 2001 From: Stephen Heumann Date: Sat, 8 Sep 2018 18:12:48 -0500 Subject: [PATCH] Remove support for the non-standard "long float" type. This was an alias for double, but it's non-standard and undocumented. Apparently it existed in some other pre-standard compilers, but it's not in any version of standard C, and I can't find any evidence of it being used. Considering the possibility for confusion, I think it's best to remove it. --- Parser.pas | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Parser.pas b/Parser.pas index 81a8e1f..c275051 100644 --- a/Parser.pas +++ b/Parser.pas @@ -2784,9 +2784,7 @@ case token.kind of NextToken; CheckConst; typeSpec := longPtr; - if token.kind in [intsy,floatsy] then begin - if token.kind = floatsy then - typeSpec := doublePtr; + if token.kind = intsy then begin NextToken; CheckConst; end {if}