Skip to content

Commit 700daa4

Browse files
committed
[gram, gram.key, lex.ppnumber] Use \indextext instead of \index.
1 parent b6b28be commit 700daa4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

source/grammar.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
\begin{paras}
44

55
\pnum
6-
\index{grammar}%
7-
\index{summary, syntax}%
6+
\indextext{grammar}%
7+
\indextext{summary!syntax}%
88
This summary of \Cpp\ syntax is intended to be an aid to comprehension.
99
It is not an exact statement of the language.
1010
In particular, the grammar described here accepts
@@ -17,7 +17,7 @@
1717
\rSec1[gram.key]{Keywords}
1818

1919
\pnum
20-
\index{keyword}%
20+
\indextext{keyword}%
2121
New context-dependent keywords are introduced into a program by
2222
\tcode{typedef}~(\ref{dcl.typedef}),
2323
\tcode{namespace}~(\ref{namespace.def}),

source/lex.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@
486486

487487
\rSec1[lex.ppnumber]{Preprocessing numbers}
488488

489-
\index{number!preprocessing|(}%
489+
\indextext{number!preprocessing|(}%
490490
\begin{bnf}
491491
\nontermdef{pp-number}\br
492492
digit\br
@@ -509,7 +509,7 @@
509509
A preprocessing number does not have a type or a value; it acquires both
510510
after a successful conversion to an integer literal token or a floating literal
511511
token.%
512-
\index{number!preprocessing|)}
512+
\indextext{number!preprocessing|)}
513513

514514
\rSec1[lex.name]{Identifiers}
515515

0 commit comments

Comments
 (0)