Skip to content

Commit 3dfbe43

Browse files
burblebeetkoeppe
authored andcommitted
CWG3126 A module import needs a header-name as a token
1 parent 6181aa6 commit 3dfbe43

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

source/lex.tex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,7 @@
585585
\pnum
586586
Each preprocessing token that is converted to a token\iref{lex.token}
587587
shall have the lexical form of a keyword, an identifier, a literal,
588+
a header name,
588589
or an operator or punctuator.
589590

590591
\pnum
@@ -872,12 +873,14 @@
872873
identifier\br
873874
keyword\br
874875
literal\br
876+
header-name\br
875877
operator-or-punctuator
876878
\end{bnf}
877879

878880
\pnum
879881
\indextext{\idxgram{token}}%
880-
There are five kinds of tokens: identifiers, keywords, literals,
882+
There are six kinds of tokens: identifiers, keywords, literals,
883+
header names,
881884
operators, and other separators.
882885
\indextext{token|)}
883886

0 commit comments

Comments
 (0)