diff --git a/source/lex.tex b/source/lex.tex index 8b865a8f5c..1cbbf7e028 100644 --- a/source/lex.tex +++ b/source/lex.tex @@ -586,6 +586,9 @@ or an operator or punctuator. \pnum +\indextext{keyword placeholder!export-keyword}% +\indextext{keyword placeholder!import-keyword}% +\indextext{keyword placeholder!module-keyword}% The \grammarterm{import-keyword} is produced by processing an \keyword{import} directive\iref{cpp.import}, the \grammarterm{module-keyword} is produced @@ -1014,6 +1017,9 @@ \indextext{identifier|)} \rSec1[lex.key]{Keywords} +\indextext{keyword placeholder!export-keyword}% +\indextext{keyword placeholder!import-keyword}% +\indextext{keyword placeholder!module-keyword}% \begin{bnf} \nontermdef{keyword}\br diff --git a/source/modules.tex b/source/modules.tex index cfe20205b1..7247b3c3e1 100644 --- a/source/modules.tex +++ b/source/modules.tex @@ -4,6 +4,8 @@ \gramSec[gram.module]{Modules} \rSec1[module.unit]{Module units and purviews} +\indextext{keyword placeholder!export-keyword}% +\indextext{keyword placeholder!module-keyword}% \begin{bnf} \nontermdef{module-declaration}\br @@ -401,6 +403,7 @@ \end{note} \rSec1[module.import]{Import declaration}% +\indextext{keyword placeholder!import-keyword}% \begin{bnf} \nontermdef{module-import-declaration}\br @@ -581,6 +584,7 @@ \end{example} \rSec1[module.global.frag]{Global module fragment} +\indextext{keyword placeholder!module-keyword}% \begin{bnf} \nontermdef{global-module-fragment}\br @@ -805,6 +809,7 @@ \end{example} \rSec1[module.private.frag]{Private module fragment} +\indextext{keyword placeholder!module-keyword}% \begin{bnf} \nontermdef{private-module-fragment}\br diff --git a/source/preprocessor.tex b/source/preprocessor.tex index 38c595333c..73381542c7 100644 --- a/source/preprocessor.tex +++ b/source/preprocessor.tex @@ -1260,6 +1260,8 @@ \end{note} \pnum +\indextext{keyword placeholder!export-keyword}% +\indextext{keyword placeholder!module-keyword}% The \tcode{module} and \tcode{export} (if it exists) preprocessing tokens are replaced by the \grammarterm{module-keyword} and \grammarterm{export-keyword} preprocessing tokens respectively. @@ -1317,6 +1319,8 @@ the program is ill-formed. \pnum +\indextext{keyword placeholder!export-keyword}% +\indextext{keyword placeholder!import-keyword}% In all three forms of \grammarterm{pp-import}, the \tcode{import} and \tcode{export} (if it exists) preprocessing tokens are replaced by the \grammarterm{import-keyword} and