From 7206d45af37ba1e9f0e8d9e495a32268b1a6b596 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Wed, 27 Feb 2008 18:56:36 +0000 Subject: [PATCH] Toned down the amount of suffixes generated for C/C++ integer literals --- backends/GenerateC.hs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/backends/GenerateC.hs b/backends/GenerateC.hs index 30520f5..589c347 100644 --- a/backends/GenerateC.hs +++ b/backends/GenerateC.hs @@ -457,9 +457,7 @@ isStringLiteral (A.ArrayLiteral _ aes) isStringLiteral _ = False genLitSuffix :: A.Type -> CGen () -genLitSuffix A.Int = tell ["L"] -genLitSuffix A.Int32 = tell ["L"] -genLitSuffix A.UInt32 = tell ["UL"] +genLitSuffix A.UInt32 = tell ["U"] genLitSuffix A.Int64 = tell ["LL"] genLitSuffix A.UInt64 = tell ["ULL"] genLitSuffix A.Real32 = tell ["F"]