Toned down the amount of suffixes generated for C/C++ integer literals
This commit is contained in:
parent
63730b5aff
commit
7206d45af3
|
@ -457,9 +457,7 @@ isStringLiteral (A.ArrayLiteral _ aes)
|
||||||
isStringLiteral _ = False
|
isStringLiteral _ = False
|
||||||
|
|
||||||
genLitSuffix :: A.Type -> CGen ()
|
genLitSuffix :: A.Type -> CGen ()
|
||||||
genLitSuffix A.Int = tell ["L"]
|
genLitSuffix A.UInt32 = tell ["U"]
|
||||||
genLitSuffix A.Int32 = tell ["L"]
|
|
||||||
genLitSuffix A.UInt32 = tell ["UL"]
|
|
||||||
genLitSuffix A.Int64 = tell ["LL"]
|
genLitSuffix A.Int64 = tell ["LL"]
|
||||||
genLitSuffix A.UInt64 = tell ["ULL"]
|
genLitSuffix A.UInt64 = tell ["ULL"]
|
||||||
genLitSuffix A.Real32 = tell ["F"]
|
genLitSuffix A.Real32 = tell ["F"]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user