From Jason Turner

[lex.header]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpt073_61j/{from.md → to.md} +13 -10
tmp/tmpt073_61j/{from.md → to.md} RENAMED
@@ -6,40 +6,43 @@ header-name:
6
  '"' q-char-sequence '"'
7
  ```
8
 
9
  ``` bnf
10
  h-char-sequence:
11
- h-char
12
- h-char-sequence h-char
13
  ```
14
 
15
  ``` bnf
16
  h-char:
17
  any member of the translation character set except new-line and U+003e (greater-than sign)
18
  ```
19
 
20
  ``` bnf
21
  q-char-sequence:
22
- q-char
23
- q-char-sequence q-char
24
  ```
25
 
26
  ``` bnf
27
  q-char:
28
  any member of the translation character set except new-line and U+0022 (quotation mark)
29
  ```
30
 
31
- [*Note 1*: Header name preprocessing tokens only appear within a
32
- `#include` preprocessing directive, a `__has_include` preprocessing
33
- expression, or after certain occurrences of an `import` token (see 
34
- [[lex.pptoken]]). — *end note*]
35
-
36
  The sequences in both forms of *header-name*s are mapped in an
37
  *implementation-defined* manner to headers or to external source file
38
  names as specified in  [[cpp.include]].
39
 
 
 
 
 
 
40
  The appearance of either of the characters `'` or `\` or of either of
41
  the character sequences `/*` or `//` in a *q-char-sequence* or an
42
  *h-char-sequence* is conditionally-supported with
43
  *implementation-defined* semantics, as is the appearance of the
44
- character `"` in an *h-char-sequence*.[^6]
 
 
 
 
 
45
 
 
6
  '"' q-char-sequence '"'
7
  ```
8
 
9
  ``` bnf
10
  h-char-sequence:
11
+ h-char h-char-sequenceₒₚₜ
 
12
  ```
13
 
14
  ``` bnf
15
  h-char:
16
  any member of the translation character set except new-line and U+003e (greater-than sign)
17
  ```
18
 
19
  ``` bnf
20
  q-char-sequence:
21
+ q-char q-char-sequenceₒₚₜ
 
22
  ```
23
 
24
  ``` bnf
25
  q-char:
26
  any member of the translation character set except new-line and U+0022 (quotation mark)
27
  ```
28
 
 
 
 
 
 
29
  The sequences in both forms of *header-name*s are mapped in an
30
  *implementation-defined* manner to headers or to external source file
31
  names as specified in  [[cpp.include]].
32
 
33
+ [*Note 1*: Header name preprocessing tokens appear only within a
34
+ `#include` preprocessing directive, a `__has_include` preprocessing
35
+ expression, or after certain occurrences of an `import` token (see 
36
+ [[lex.pptoken]]). — *end note*]
37
+
38
  The appearance of either of the characters `'` or `\` or of either of
39
  the character sequences `/*` or `//` in a *q-char-sequence* or an
40
  *h-char-sequence* is conditionally-supported with
41
  *implementation-defined* semantics, as is the appearance of the
42
+ character `"` in an *h-char-sequence*.
43
+
44
+ [*Note 2*: Thus, a sequence of characters that resembles an escape
45
+ sequence can result in an error, be interpreted as the character
46
+ corresponding to the escape sequence, or have a completely different
47
+ meaning, depending on the implementation. — *end note*]
48