c-ada-spec.c (dump_number): Add FLOAT_P parameter.
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 10 Jan 2018 23:14:49 +0000 (23:14 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 10 Jan 2018 23:14:49 +0000 (23:14 +0000)
commit68dc87c3600fe0b6b629b45e5efc058c32b7bccc
tree03daab767b941cb7e519f462abf28e90a617ce76
parent8cad5b143e23668e4b59596972b2249ce2d2d637
c-ada-spec.c (dump_number): Add FLOAT_P parameter.

* c-ada-spec.c (dump_number): Add FLOAT_P parameter.
Skip 'f' and 'F' characters if it is true.
(store_ada_macro): Minor tweak.
(dump_ada_macros) <CPP_COMMENT>: Likewise.
<CPP_WSTRING>: Likewise.
<CPP_STRING>: Output '&' in the buffer if not the first string.
<CPP_NUMBER>: Adjust calls to dump_number.

From-SVN: r256463
gcc/c-family/ChangeLog
gcc/c-family/c-ada-spec.c