Skip to content

Commit 87679de

Browse files
committed
[gram, gram.key, lex.ppnumber] Use \indextext instead of \index.
1 parent c3314f6 commit 87679de

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
@@ -484,7 +484,7 @@
484484

485485
\rSec1[lex.ppnumber]{Preprocessing numbers}
486486

487-
\index{number!preprocessing|(}%
487+
\indextext{number!preprocessing|(}%
488488
\begin{bnf}
489489
\nontermdef{pp-number}\br
490490
digit\br
@@ -507,7 +507,7 @@
507507
A preprocessing number does not have a type or a value; it acquires both
508508
after a successful conversion to an integer literal token or a floating literal
509509
token.%
510-
\index{number!preprocessing|)}
510+
\indextext{number!preprocessing|)}
511511

512512
\rSec1[lex.name]{Identifiers}
513513

0 commit comments

Comments
 (0)