Title
identifier-list is never defined
Status
cd1
Section
Clause [15] [cpp]
Submitter
Nicola Musatti

Created on 2002-12-16.00:00:00 last changed 189 months ago

Messages

Date: 2004-10-15.00:00:00

[Voted into WP at October 2004 meeting.]

Date: 2003-12-15.00:00:00

Proposed Resolution (Clark Nelson, Dec 2003):

In Clause 15 [cpp], paragraph 1, immediately before the definition of replacement-list, add:

    identifier-list:
      identifier
      identifier-list , identifier

If the correct TROFF macros are used, the definition will appear automatically in appendix A. It doesn't need to be repeated in 16.3p9.

With respect to the question of having the preprocessor description be synchronized with C99, this would fall into the category of a justified difference. (Other justified differences include those for Boolean expressions, alternative tokens, and terminology differences.)

Date: 2022-02-18.07:47:23

In Clause 15 [cpp], paragraph 1, the control-line non-terminal symbol is defined in terms of the identifier-list non-terminal, which is never defined within the standard document.

The same definition is repeated in A.13 [gram.cpp].

I suggest that the following definition is added to Clause 15 [cpp], paragraph 1, after the one for replacement-list:

    identifier-list:
      identifier
      identifier-list , identifier

This should be repeated again in A.13 [gram.cpp], again after the one for replacement-list. It might also be desirable to include a third repetition in 15.6 [cpp.replace], paragraph 9.

History
Date User Action Args
2008-10-05 00:00:00adminsetstatus: wp -> cd1
2005-05-01 00:00:00adminsetstatus: dr -> wp
2004-11-07 00:00:00adminsetmessages: + msg1101
2004-11-07 00:00:00adminsetstatus: ready -> dr
2004-04-09 00:00:00adminsetstatus: review -> ready
2004-02-13 00:00:00adminsetmessages: + msg953
2004-02-13 00:00:00adminsetstatus: drafting -> review
2003-04-25 00:00:00adminsetstatus: open -> drafting
2002-12-16 00:00:00admincreate