Title
non-directive is underspecified
Status
cd4
Section
Clause [15] [cpp]
Submitter
Richard Smith

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

Messages

Date: 2015-10-15.00:00:00

Proposed resolution (October, 2015):

  1. Change Clause 15 [cpp] paragraph 1 as follows:

    • group-part:
        if-section
        control-line
        text-line
        # non-directive conditionally-supported-directive
      ...
      non-directive conditionally-supported-directive:
        pp-tokens new-line
  2. Change Clause 15 [cpp] paragraph 2 as follows:

  3. A text line shall not begin with a # preprocessing token. A non-directive conditionally-supported-directive shall not begin with any of the directive names appearing in the syntax. A conditionally-supported-directive is conditionally supported with implementation-defined semantics.
Date: 2016-02-15.00:00:00

[Adopted at the February, 2016 meeting.]

The Standard needs to describe non-directives more fully, e.g., whether they are ill-formed, conditionally-supported, etc. Since they are, in fact, directives, a different name might also be in order.

History
Date User Action Args
2017-02-06 00:00:00adminsetstatus: ready -> cd4
2015-11-10 00:00:00adminsetmessages: + msg5587
2015-11-10 00:00:00adminsetstatus: drafting -> ready
2014-09-10 00:00:00admincreate