|
404 | 404 |
|
405 | 405 | \pnum
|
406 | 406 | The \grammarterm{import-keyword} is produced
|
407 |
| -by processing an \tcode{import} directive\iref{cpp.import}, |
| 407 | +by processing an \keyword{import} directive\iref{cpp.import}, |
408 | 408 | the \grammarterm{module-keyword} is produced
|
409 |
| -by preprocessing a \tcode{module} directive\iref{cpp.module}, and |
| 409 | +by preprocessing a \keyword{module} directive\iref{cpp.module}, and |
410 | 410 | the \grammarterm{export-keyword} is produced
|
411 | 411 | by preprocessing either of the previous two directives.
|
412 | 412 | \begin{note}
|
|
464 | 464 |
|
465 | 465 | \begin{tokentable}{Alternative tokens}{lex.digraph}{Alternative}{Primary}
|
466 | 466 | \tcode{<\%} & \tcode{\{} &
|
467 |
| -\tcode{and} & \tcode{\&\&} & |
468 |
| -\tcode{and_eq} & \tcode{\&=} \\ \rowsep |
| 467 | +\keyword{and} & \tcode{\&\&} & |
| 468 | +\keyword{and_eq} & \tcode{\&=} \\ \rowsep |
469 | 469 | \tcode{\%>} & \tcode{\}} &
|
470 |
| -\tcode{bitor} & \tcode{|} & |
471 |
| -\tcode{or_eq} & \tcode{|=} \\ \rowsep |
| 470 | +\keyword{bitor} & \tcode{|} & |
| 471 | +\keyword{or_eq} & \tcode{|=} \\ \rowsep |
472 | 472 | \tcode{<:} & \tcode{[} &
|
473 |
| -\tcode{or} & \tcode{||} & |
474 |
| -\tcode{xor_eq} & \tcode{\caret=} \\ \rowsep |
| 473 | +\keyword{or} & \tcode{||} & |
| 474 | +\keyword{xor_eq} & \tcode{\caret=} \\ \rowsep |
475 | 475 | \tcode{:>} & \tcode{]} &
|
476 |
| -\tcode{xor} & \tcode{\caret} & |
477 |
| -\tcode{not} & \tcode{!} \\ \rowsep |
| 476 | +\keyword{xor} & \tcode{\caret} & |
| 477 | +\keyword{not} & \tcode{!} \\ \rowsep |
478 | 478 | \tcode{\%:} & \tcode{\#} &
|
479 |
| -\tcode{compl} & \tcode{\~} & |
480 |
| -\tcode{not_eq} & \tcode{!=} \\ \rowsep |
| 479 | +\keyword{compl} & \tcode{\~} & |
| 480 | +\keyword{not_eq} & \tcode{!=} \\ \rowsep |
481 | 481 | \tcode{\%:\%:} & \tcode{\#\#} &
|
482 |
| -\tcode{bitand} & \tcode{\&} & |
| 482 | +\keyword{bitand} & \tcode{\&} & |
483 | 483 | & \\
|
484 | 484 | \end{tokentable}%
|
485 | 485 | \indextext{token!alternative|)}
|
|
941 | 941 | \terminal{= += -= *= /= \%= \caret{}= \&= |=}\br
|
942 | 942 | \terminal{== != < > <= >= <=> \&\& ||}\br
|
943 | 943 | \terminal{<< >> <<= >>= ++ -- ,}\br
|
944 |
| - \terminal{and or xor not bitand bitor compl}\br |
945 |
| - \terminal{and_eq or_eq xor_eq not_eq} |
| 944 | + \terminal{\keyword{and} \keyword{or} \keyword{xor} \keyword{not} \keyword{bitand} \keyword{bitor} \keyword{compl}}\br |
| 945 | + \terminal{\keyword{and_eq} \keyword{or_eq} \keyword{xor_eq} \keyword{not_eq}} |
946 | 946 | \end{bnf}
|
947 | 947 |
|
948 | 948 | Each \grammarterm{operator-or-punctuator} is converted to a single token
|
|
0 commit comments