Skip to content

[lex.pptoken] import-keyword, module-keyword, export-keyword are not indexed #6844

@eisenwave

Description

@eisenwave

I believe the problem is that they don't have a \nontermdef section and aren't otherwise indexed.

They're defined in [lex.pptoken] p4 but not in the usual way:

draft/source/lex.tex

Lines 563 to 569 in ceff4ea

\pnum
The \grammarterm{import-keyword} is produced
by processing an \keyword{import} directive\iref{cpp.import},
the \grammarterm{module-keyword} is produced
by preprocessing a \keyword{module} directive\iref{cpp.module}, and
the \grammarterm{export-keyword} is produced
by preprocessing either of the previous two directives.

I guess this also means that [gram] is incomplete because it doesn't explain how an import-keyword is produced, and doesn't link to it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions