6.4.8 Preprocessing numbers

Previous Table of Contents "New C Standard" commentary

927

pp-number:
                digit
                . digit
                pp-number digit
                pp-number identifier-nondigit
                pp-number e sign
                pp-number E sign
                pp-number p sign
                pp-number P sign
                pp-number .

928 A preprocessing number begins with a digit optionally preceded by a period (.) and may be followed by valid identifier characters and the character sequences e+, e-, E+, E-, p+, p-, P+, or P-.

929 Preprocessing number tokens lexically include all floating and integer constant tokens.

930 A preprocessing number does not have type or a value;

931 it acquires both after a successful conversion (as part of translation phase 7) to a floating constant token or an integer constant token.

932 69) Thus, sequences of characters that resemble escape sequences cause undefined behavior.

933 DR324) For an example of a header name preprocessing token used in a #pragma directive, see Subclause 6.10.9.

Next

Created at: 2008-01-30 02:39:42 The text from WG14/N1256 is copyright © ISO