Defect Report #303

Previous Defect Report < - > Next Defect Report


Submitter: WG21
Submission Date: 2004-10-26
Source: WG21
Reference Document: ISO/IEC WG14 N1068
Version: 1.1
Date: 2006-03-05
Subject: 6.10p2: Breaking up the very long sentence describing preprocessing directive

Summary

The sentence describing a preprocessing directive is fearsomely long.

Suggested Technical Corrigendum

Change 6.10p2:

A preprocessing directive consists of a sequence of preprocessing tokens that begins with . The first token in the sequence is a # preprocessing token that (at the start of translation phase 4) is either the first character in the source file (optionally after white space containing no new-line characters) or that follows white space containing at least one new-line character, and is ended by the next . The last token in the sequence is the first new-line character that follows the first token in the sequence.140) A new-line character ends the preprocessing directive even if it occurs within what would otherwise be an invocation of a function-like macro.


Committee Response

TC2 (and specifically DR 250) changed that sentence into a definition.

Technical Corrigendum

Change 6.10p2:

A preprocessing directive consists of a sequence of preprocessing tokens that begins with that satisfies the following constraints. The first token in the sequence is a # preprocessing token that (at the start of translation phase 4) is either the first character in the source file (optionally after white space containing no new-line characters) or that follows white space containing at least one new-line character, and is ended by the next . The last token in the sequence is the first new-line character that follows the first token in the sequence.140) A new-line character ends the preprocessing directive even if it occurs within what would otherwise be an invocation of a function-like macro.


Previous Defect Report < - > Next Defect Report