From 2222e4a0b4100b789d8d0947face6ac355c47bf3 Mon Sep 17 00:00:00 2001 From: Stephen Heumann Date: Fri, 29 Jan 2021 23:22:28 -0600 Subject: [PATCH] Restore old order of baseTypeEnum values. The ordinal values of these are hard-coded in code for handling pc_cnv/pc_cnn, so let's avoid changing them. --- CCommon.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CCommon.pas b/CCommon.pas index 2c27e7f..ef0b84c 100644 --- a/CCommon.pas +++ b/CCommon.pas @@ -147,9 +147,9 @@ type { the compiler. Any values whose type is cc must be resolved to one } { of the cg types before the code generator is called. } - baseTypeEnum = (cgByte,cgUByte,cgWord,cgUWord,cgLong,cgULong,cgQuad,cgUQuad, + baseTypeEnum = (cgByte,cgUByte,cgWord,cgUWord,cgLong,cgULong, cgReal,cgDouble,cgComp,cgExtended,cgString, - cgVoid,ccPointer); + cgVoid,cgQuad,cgUQuad,ccPointer); { Basic types (plus the void type) as defined by the C language. } { This differs from baseTypeEnum in that different types with the }