bug-indent
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Missing support for decimal float suffixes


From: Petr Pisar
Subject: Missing support for decimal float suffixes
Date: Thu, 25 Aug 2011 10:51:08 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Hello,

I got report <https://bugzilla.redhat.com/show_bug.cgi?id=733051> that
indent-2.2.11 does break following code:

    double f = 3.0DF;

by producing:

    double f = 3.0 DF;

i.e. it does not recognize non-standard decimal float suffix "DF" and places
new white space before it.

The decimal float draft defines suffixes "DF", "DD", "DL", "df", "dd", and
"dl". See GCC info page "Decimal Floating Types" for more details.

-- Petr

Attachment: pgpzUiZbyIHcH.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]