-
Notifications
You must be signed in to change notification settings - Fork 24
/
src.grammar.summary.txt
671 lines (671 loc) · 22.6 KB
/
src.grammar.summary.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
Appendix A
(informative)
Grammar summary [gram]
1 This summary of C++ syntax is intended to be an aid to comprehension. It is not an exact statement of the language. In particular, the grammar described here accepts a superset of valid C++ constructs. Disambiguation rules (6.8, 7.1, 10.2) must be applied to distinguish expressions from declarations. Further, access control, ambiguity, and type rules must be used to weed out syntactically valid but meaningless constructs.
A.1 Keywords [gram.key]
1 New context-dependent keywords are introduced into a program by typedef (7.1.3), namespace (7.3.1), class (clause 9), enumeration (7.2), and template (clause 14) declarations.
typedef-name: identifier
namespace-name: original-namespace-name
namespace-alias original-namespace-name:
identifier namespace-alias:
identifier
class-name: identifier
template-id enum-name:
identifier
template-name: identifier
Note that a typedef-name naming a class is also a class-name (9.1). A.2 Lexical conventions
hex-quad:
hexadecimal-digit hexadecimal-digit hexadecimal-digit hexadecimal-digit
[gram.lex]
A.2 Lexical conventions
universal-character-name: \u hex-quad
\U hex-quad hex-quad
preprocessing-token: header-name
identifier
pp-number
character-literal
string-literal
preprocessing-op-or-punc
each non-white-space character that cannot be one of the above
token:
identifier
keyword literal operator punctuator
header-name:
< h-char-sequence >
" q-char-sequence "
h-char-sequence: h-char
h-char-sequence h-char h-char:
any member of the source character set except new-line and >
q-char-sequence: q-char
q-char-sequence q-char q-char:
any member of the source character set except new-line and "
Grammar summary 1190
pp-number: digit
. digit
pp-number digit pp-number nondigit pp-number e sign pp-number E sign pp-number .
identifier: identifier-nondigit
identifier identifier-nondigit identifier digit
identifier-nondigit: nondigit
universal-character-name
other implementation-defined characters
Draft
1191
Grammar summary
nondigit: one of abcdefghijklm nopqrstuvwxyz ABCDEFGHIJKLM NOPQRSTUVWXYZ_
digit: one of 0123456789
A.2 Lexical conventions
preprocessing-op-or-punc: one of
{ } [ ] # ## ( )
<: :> <% %> %: %:%: ; : ... new delete ? :: . .* +-*/%^&|∼
! =
^= &=
<= >=
and and_eq or or_eq
literal: integer-literal
character-literal floating-literal string-literal boolean-literal pointer-literal
< > += -= *= /= %= |= << >> >>= <<= == != && || ++ -- , ->* ->
integer-literal:
decimal-literal integer-suffixopt octal-literal integer-suffixopt hexadecimal-literal integer-suffixopt
decimal-literal: nonzero-digit
decimal-literal digit
octal-literal:
0
octal-literal octal-digit
hexadecimal-literal:
0x hexadecimal-digit
0X hexadecimal-digit hexadecimal-literal hexadecimal-digit
nonzero-digit: one of 123456789
octal-digit: one of 01234567
hexadecimal-digit: one of 0123456789
abcdef ABCDEF
bitand bitor xor xor_eq
compl not
not_eq
Draft
A.2 Lexical conventions
integer-suffix:
unsigned-suffix long-suffixopt unsigned-suffix long-long-suffixopt long-suffix unsigned-suffixopt long-long-suffix unsigned-suffixopt
unsigned-suffix: one of uU
long-suffix: one of lL
long-long-suffix: one of ll LL
character-literal:
’ c-char-sequence ’
u’ c-char-sequence ’ U’ c-char-sequence ’ L’ c-char-sequence ’
c-char-sequence: c-char
c-char-sequence c-char
c-char:
any member of the source character set except
the single-quote ’, backslash \, or new-line character
escape-sequence universal-character-name
escape-sequence: simple-escape-sequence
octal-escape-sequence hexadecimal-escape-sequence
simple-escape-sequence: one of \’ \" \? \\
\a \b \f \n \r \t \v
octal-escape-sequence: \ octal-digit
\ octal-digit octal-digit
\ octal-digit octal-digit octal-digit
hexadecimal-escape-sequence: \x hexadecimal-digit
hexadecimal-escape-sequence hexadecimal-digit
floating-literal:
fractional-constant exponent-partopt floating-suffixopt digit-sequence exponent-part floating-suffixopt
Grammar summary 1192
fractional-constant:
digit-sequenceopt . digit-sequence digit-sequence .
Draft
1193
Grammar summary
exponent-part:
e signopt digit-sequence
E signopt digit-sequence sign: one of
+-
digit-sequence: digit
digit-sequence digit floating-suffix: one of
flFL
string-literal:
" s-char-sequenceopt "
u8" s-char-sequenceopt " u" s-char-sequenceopt " U" s-char-sequenceopt " L" s-char-sequenceopt " R raw-string
u8R raw-string uR raw-string UR raw-string LR raw-string
s-char-sequence: s-char
s-char-sequence s-char
s-char:
any member of the source character set except
the double-quote ", backslash \, or new-line character
escape-sequence universal-character-name
raw-string:
" d-char-sequenceopt [ r-char-sequenceopt ] d-char-sequenceopt "
r-char-sequence: r-char
r-char-sequence r-char
r-char:
any member of the source character set, except
(1), a backslash \ followed by a u or U, or
(2), a right square bracket ] followed by the initial d-char-sequence (which may be empty) followed by a double quote ".
A.2 Lexical conventions
universal-character-name
d-char-sequence: d-char
d-char-sequence d-char
Draft
A.3 Basic concepts
d-char:
any member of the basic source character set except:
space, the left square bracket [, the right square bracket ], and the control characters representing horizontal tab, vertical tab, form feed, and newline.
boolean-literal:
false true
pointer-literal:
nullptr
A.3 Basic concepts
translation-unit: declaration-seqopt
A.4 Expressions
primary-expression: literal
this
( expression ) id-expression lambda-expression
id-expression: unqualified-id
qualified-id unqualified-id:
identifier operator-function-id conversion-function-id ∼ class-name template-id
qualified-id:
::opt nested-name-specifier templateopt unqualified-id :: identifier
:: operator-function-id
:: template-id
nested-name-specifier: type-name ::
namespace-name ::
nested-name-specifier identifier ::
nested-name-specifier templateopt simple-template-id ::
lambda-expression:
lambda-introducer lambda-parameter-declarationopt compound-statement
Grammar summary 1194
lambda-introducer:
[ lambda-captureopt ]
Draft
[gram.basic]
[gram.expr]
1195
Grammar summary
lambda-capture: capture-default
capture-list
capture-default , capture-list
capture-default:
& =
capture-list: capture
capture-list , capture
capture: identifier
& identifier this
lambda-parameter-declaration:
( lambda-parameter-declaration-listopt )
mutableopt exception-specificationopt lambda-return-type-clauseopt
lambda-parameter-declaration-list: lambda-parameter
lambda-parameter , lambda-parameter-declaration-list lambda-parameter:
decl-specifier-seq declarator lambda-return-type-clause:
-> type-id
postfix-expression: primary-expression
postfix-expression [ expression ] postfix-expression [ braced-init-list ]
postfix-expression ( expression-listopt ) simple-type-specifier ( expression-listopt ) typename-specifier ( expression-listopt ) simple-type-specifier braced-init-list
typename-specifier braced-init-list
postfix-expression . templateopt id-expression postfix-expression -> templateopt id-expression postfix-expression . pseudo-destructor-name postfix-expression -> pseudo-destructor-name postfix-expression ++
postfix-expression --
dynamic_cast < type-id > ( expression ) static_cast < type-id > ( expression ) reinterpret_cast < type-id > ( expression ) const_cast < type-id > ( expression ) typeid ( expression )
typeid ( type-id )
Draft
A.4 Expressions

A.4 Expressions
expression-list:
assignment-expression ...opt
expression-list , assignment-expression ...opt initializer-list
pseudo-destructor-name:
::opt nested-name-specifieropt type-name :: ∼ type-name
::opt nested-name-specifier template simple-template-id :: ∼ type-name ::opt nested-name-specifieropt ∼ type-name
unary-expression: postfix-expression
++ cast-expression
-- cast-expression unary-operator cast-expression sizeof unary-expression sizeof ( type-id )
sizeof ... ( identifier ) alignof ( type-id ) new-expression delete-expression
unary-operator: one of *&+-!∼
new-expression:
::opt new new-placementopt new-type-id new-initializeropt ::opt new new-placementopt ( type-id ) new-initializeropt braced-init-list
new-placement:
( expression-list )
new-type-id:
type-specifier-seq new-declaratoropt
new-declarator:
ptr-operator new-declaratoropt direct-new-declarator
direct-new-declarator: [ expression ]
direct-new-declarator [ constant-expression ] new-initializer:
Grammar summary 1196
( expression-listopt )
delete-expression:
::opt delete cast-expression ::opt delete [ ] cast-expression
cast-expression: unary-expression
( type-id ) cast-expression
Draft
1197
Grammar summary
pm-expression: cast-expression
pm-expression .* cast-expression pm-expression ->* cast-expression
multiplicative-expression: pm-expression
multiplicative-expression * pm-expression multiplicative-expression / pm-expression multiplicative-expression % pm-expression
additive-expression: multiplicative-expression
additive-expression + multiplicative-expression additive-expression - multiplicative-expression
shift-expression: additive-expression
shift-expression << additive-expression shift-expression >> additive-expression
relational-expression: shift-expression
relational-expression < shift-expression relational-expression > shift-expression relational-expression <= shift-expression relational-expression >= shift-expression
equality-expression: relational-expression
equality-expression == relational-expression equality-expression != relational-expression
and-expression: equality-expression
and-expression & equality-expression
exclusive-or-expression: and-expression
exclusive-or-expression ^ and-expression
inclusive-or-expression: exclusive-or-expression
inclusive-or-expression | exclusive-or-expression
logical-and-expression: inclusive-or-expression
logical-and-expression && inclusive-or-expression
logical-or-expression: logical-and-expression
logical-or-expression || logical-and-expression
Draft
A.4 Expressions

A.5 Statements
conditional-expression: logical-or-expression
logical-or-expression ? expression : assignment-expression
assignment-expression: conditional-expression
logical-or-expression assignment-operator assignment-expression
logical-or-expression assignment-operator initializer-clause
throw-expression assignment-operator: one of
= *= /= %= += -= >>= <<= &= ^= |=
expression: assignment-expression
expression , assignment-expression constant-expression:
conditional-expression
A.5 Statements
statement: labeled-statement
expression-statement compound-statement selection-statement iteration-statement jump-statement declaration-statement try-block
labeled-statement: identifier : statement
case constant-expression : statement
default : statement expression-statement:
expressionopt ; compound-statement:
{ statement-seqopt }
statement-seq: statement
statement-seq statement
selection-statement:
if ( condition ) statement
if ( condition ) statement else statement switch ( condition ) statement
condition: expression
type-specifier-seq declarator = assignment-expression initializer-clause type-specifier-seq declarator braced-init-list
Draft
Grammar summary 1198
[gram.stmt]

1199
Grammar summary
iteration-statement:
while ( condition ) statement
do statement while ( expression ) ;
for ( for-init-statement conditionopt ; expressionopt ) statement
for-init-statement: expression-statement
simple-declaration
jump-statement:
break ;
continue ;
return expressionopt ; return braced-init-list ;
goto identifier ; declaration-statement:
block-declaration
A.6 Declarations
A.6 Declarations
declaration-seq: declaration
declaration-seq declaration
declaration: block-declaration
function-definition template-declaration explicit-instantiation explicit-specialization linkage-specification namespace-definition
block-declaration: simple-declaration
asm-definition namespace-alias-definition using-declaration using-directive static_assert-declaration alias-declaration
alias-declaration:
using identifier = type-id
simple-declaration:
decl-specifier-seqopt init-declarator-listopt ;
static_assert-declaration:
static_assert ( constant-expression , string-literal ) ;
Draft
[gram.dcl]
A.6 Declarations
decl-specifier: storage-class-specifier
type-specifier function-specifier friend
typedef constexpr alignment-specifier
decl-specifier-seq:
decl-specifier-seqopt decl-specifier
storage-class-specifier:
register
static
extern
mutable
function-specifier:
inline
virtual
explicit
typedef-name: identifier
type-specifier: simple-type-specifier
class-specifier enum-specifier elaborated-type-specifier typename-specifier cv-qualifier
type-specifier-seq:
type-specifier type-specifier-seqopt
simple-type-specifier:
::opt nested-name-specifieropt type-name
::opt nested-name-specifier template simple-template-id char
char16_t
char32_t
wchar_t
bool
short
int
long
signed
unsigned
float
double
void
auto
decltype ( expression )
Draft
Grammar summary 1200

1201
Grammar summary
type-name: class-name
enum-name typedef-name
elaborated-type-specifier:
class-key ::opt nested-name-specifieropt identifier
class-key ::opt nested-name-specifieropt templateopt simple-template-id enum-key ::opt nested-name-specifieropt identifier
alignment-specifier:
alignas ( constant-expression ) alignas ( type-id )
enum-name: identifier
enum-specifier:
enum-key identifieropt enum-baseopt { enumerator-listopt } enum-key identifieropt enum-baseopt { enumerator-list , }
enum-key:
enum
enum class
enum struct
enum-base:
: type-specifier-seq
enumerator-list: enumerator-definition
enumerator-list , enumerator-definition enumerator-definition:
enumerator
enumerator = constant-expression enumerator:
identifier namespace-name:
original-namespace-name
namespace-alias original-namespace-name:
identifier namespace-definition:
named-namespace-definition
unnamed-namespace-definition named-namespace-definition:
original-namespace-definition
extension-namespace-definition original-namespace-definition:
inlineopt namespace identifier { namespace-body } extension-namespace-definition:
inlineopt namespace original-namespace-name { namespace-body } unnamed-namespace-definition:
inlineopt namespace { namespace-body } namespace-body:
A.6 Declarations
declaration-seqopt
Draft
A.7 Declarators
namespace-alias: identifier
namespace-alias-definition:
namespace identifier = qualified-namespace-specifier ;
qualified-namespace-specifier:
::opt nested-name-specifieropt namespace-name
using-declaration:
using typenameopt ::opt nested-name-specifier unqualified-id ; using :: unqualified-id ;
Grammar summary 1202
using-directive:
using namespace ::opt
asm-definition:
asm ( string-literal ) ;
nested-name-specifieropt namespace-name ;
linkage-specification:
extern string-literal { declaration-seqopt } extern string-literal declaration
A.7 Declarators
init-declarator-list: init-declarator
init-declarator-list , init-declarator init-declarator:
declarator initializeropt
declarator: direct-declarator
ptr-operator declarator
direct-declarator: declarator-id
direct-declarator ( parameter-declaration-clause ) cv-qualifier-seqopt ref-qualifieropt exception-specificationopt
direct-declarator ( parameter-declaration-clause )
cv-qualifier-seqopt ref-qualifieropt exception-specificationopt -> type-id
direct-declarator [ constant-expressionopt ]
( declarator ) ptr-operator:
* cv-qualifier-seqopt
&
&&
::opt nested-name-specifier * cv-qualifier-seqopt
[gram.decl]
cv-qualifier-seq:
cv-qualifier cv-qualifier-seqopt
cv-qualifier:
const
volatile
Draft
1203
Grammar summary
ref-qualifier:
& &&
declarator-id:
...opt id-expression
::opt nested-name-specifieropt class-name type-id:
type-specifier-seq abstract-declaratoropt
abstract-declarator:
ptr-operator abstract-declaratoropt direct-abstract-declarator
...
direct-abstract-declarator:
direct-abstract-declaratoropt ( parameter-declaration-clause )
cv-qualifier-seqopt ref-qualifieropt exception-specificationopt direct-abstract-declaratoropt ( parameter-declaration-clause )
cv-qualifier-seqopt ref-qualifieropt exception-specificationopt -> type-id direct-abstract-declaratoropt [ constant-expressionopt ]
( abstract-declarator )
parameter-declaration-clause: parameter-declaration-listopt ...opt parameter-declaration-list , ...
parameter-declaration-list: parameter-declaration
parameter-declaration-list , parameter-declaration
parameter-declaration:
decl-specifier-seq declarator
decl-specifier-seq declarator = assignment-expression decl-specifier-seq abstract-declaratoropt
decl-specifier-seq abstract-declaratoropt = assignment-expression
function-definition:
decl-specifier-seqopt declarator function-body decl-specifier-seqopt declarator = default ; decl-specifier-seqopt declarator = delete ;
A.7 Declarators
function-body:
ctor-initializeropt compound-statement function-try-block
initializer:
= initializer-clause
( expression-list ) braced-init-list
initializer-clause: assignment-expression
{ initializer-list ,opt } {}
braced-init-list
Draft
A.8 Classes
initializer-list: initializer-clause ...opt
initializer-list , initializer-clause ...opt
braced-init-list
{ initializer-list ,opt }
{}
A.8 Classes
class-name: identifier
simple-template-id class-specifier:
class-head { member-specificationopt }
class-head:
class-key identifieropt base-clauseopt
class-key nested-name-specifier identifier base-clauseopt
class-key nested-name-specifieropt simple-template-id base-clauseopt
class-key:
class
struct
union
member-specification:
member-declaration member-specificationopt access-specifier : member-specificationopt
member-declaration:
decl-specifier-seqopt member-declarator-listopt ; function-definition ;opt
::opt nested-name-specifier templateopt using-declaration
static_assert-declaration
template-declaration
member-declarator-list: member-declarator
member-declarator-list , member-declarator
Grammar summary 1204
[gram.class]
member-declarator:
declarator pure-specifieropt
declarator constant-initializeropt identifieropt : constant-expression
pure-specifier:
=0
constant-initializer:
= constant-expression
unqualified-id ;
Draft
1205 A.9
Grammar summary Derived classes
base-clause:
: base-specifier-list
base-specifier-list: base-specifier ...opt
base-specifier-list , base-specifier ...opt
base-specifier:
::opt nested-name-specifieropt class-name
A.9
Derived classes [gram.derived]
A.10
[gram.special]
virtual access-specifieropt ::opt
nested-name-specifieropt class-name nested-name-specifieropt class-name
access-specifier virtualopt
access-specifier:
private
protected
public
Special member functions
::opt
conversion-function-id:
operator conversion-type-id
conversion-type-id:
type-specifier-seq conversion-declaratoropt
conversion-declarator:
ptr-operator conversion-declaratoropt
ctor-initializer:
: mem-initializer-list
mem-initializer-list: mem-initializer ...opt
mem-initializer , mem-initializer-list ...opt
mem-initializer:
mem-initializer-id ( expression-listopt ) mem-initializer-id braced-init-list
mem-initializer-id:
::opt nested-name-specifieropt class-name identifier
A.11 Overloading
operator-function-id: operator operator
[gram.over]
Draft
A.12
Templates Grammar summary 1206
operator: one of
new delete new[] delete[] +-*/%^&|∼ ! = < > += -= *= /= %= ^= &= |= << >> >>= <<= == != <= >= && || ++ -- , ->* -> () []
A.12 Templates
template-declaration:
exportopt template < template-parameter-list > declaration
template-parameter-list: template-parameter
template-parameter-list , template-parameter
template-parameter: type-parameter
parameter-declaration
type-parameter:
class ...opt identifieropt
class identifieropt = type-id
typename ...opt identifieropt
typename identifieropt = type-id
template < template-parameter-list > class ...opt identifieropt template < template-parameter-list > class identifieropt = id-expression
[gram.temp]
simple-template-id:
template-name < template-argument-listopt >
template-id: simple-template-id
operator-function-id < template-argument-listopt > template-name:
identifier
template-argument-list: template-argument ...opt
template-argument-list , template-argument ...opt
template-argument: constant-expression
type-id id-expression
typename-specifier: typename ::opt typename ::opt
nested-name-specifier identifier nested-name-specifier templateopt
simple-template-id
explicit-instantiation:
externopt template declaration
explicit-specialization:
template < > declaration
Draft
1207 A.13
Grammar summary Exception handling
try-block:
try compound-statement handler-seq
function-try-block:
try ctor-initializeropt compound-statement handler-seq
handler-seq:
handler handler-seqopt
handler:
catch ( exception-declaration ) compound-statement
A.13
Exception handling [gram.except]
A.14
exception-declaration:
type-specifier-seq declarator type-specifier-seq abstract-declarator type-specifier-seq
...
throw-expression:
throw assignment-expressionopt
exception-specification:
throw ( type-id-listopt )
type-id-list:
type-id ...opt
type-id-list , type-id ...opt Preprocessing directives
[gram.cpp]
preprocessing-file: groupopt
group: group-part
group group-part
group-part: if-section
control-line text-line
# non-directive
if-section:
if-group elif-groupsopt
if-group:
# if
# ifdef
# ifndef
elif-groups: elif-group
elif-groups elif-group
else-groupopt
endif-line
constant-expression new-line groupopt identifier new-line groupopt
identifier new-line groupopt
Draft
A.14
Preprocessing directives
Grammar summary 1208
elif-group:
# elif
else-group:
# else
endif-line:
# endif
control-line:
# include
# define
# define
# define
# define
# undef
# line
# error
# pragma # new-line
constant-expression new-line groupopt new-line groupopt
new-line
pp-tokens new-line
identifier replacement-list new-line
identifier lparen identifier-listopt ) replacement-list new-line identifier lparen ... ) replacement-list new-line
identifier-list: identifier
identifier-list , identifier replacement-list:
pp-tokensopt
pp-tokens: preprocessing-token
pp-tokens preprocessing-token
new-line:
the new-line character
identifier lparen identifier-list, ... identifier new-line
pp-tokens new-line
pp-tokensopt new-line pp-tokensopt new-line
) replacement-list new-line
text-line:
pp-tokensopt new-line
non-directive:
pp-tokensopt new-line
lparen:
a ( character not immediately preceded by white-space
Draft