Title
White space within preprocessing directives
Status
open
Section
Clause [15] [cpp]
Submitter
Richard Smith

Created on 2014-09-10.00:00:00 last changed 85 months ago

Messages

Date: 2020-12-15.00:00:00

According to Clause 15 [cpp] paragraphg 4,

The only white-space characters that shall appear between preprocessing tokens within a preprocessing directive (from just after the introducing # preprocessing token through just before the terminating new-line character) are space and horizontal-tab (including spaces that have replaced comments or possibly other white-space characters in translation phase 3).

The effect of this restriction is unclear, however, since translation phase 3 is permitted to transform all white space characters and comments into spaces. The relationship between these two rules should be clarified.

History
Date User Action Args
2014-09-10 00:00:00admincreate