Skip to content

Commit 10ced29

Browse files
committed
[lex.phases] Use consistent (maths) style for reference points in example
1 parent 4770d1c commit 10ced29

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

source/lex.tex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -261,24 +261,24 @@
261261

262262
class Inner {
263263
void fn() {
264-
/* P1 */ Incomplete i; // OK
264+
/* @$p_1$@ */ Incomplete i; // OK
265265
}
266-
}; /* P2 */
266+
}; /* @$p_2$@ */
267267

268268
consteval {
269269
define_aggregate(^^Incomplete, {});
270270
}
271-
}; /* P3 */
271+
}; /* @$p_3$@ */
272272
\end{codeblock}
273-
Constructs at P1 are analyzed in a context
273+
Constructs at $p_1$ are analyzed in a context
274274
where the side effect of the call to \tcode{define_aggregate} is evaluated
275275
because
276276
\begin{itemize}
277277
\item
278278
$E$ is the expression corresponding to a consteval block, and
279279
\item
280-
P1 is in a complete-class context of \tcode{S} and
281-
the consteval block is reachable from P3.
280+
$p_1$ is in a complete-class context of \tcode{S} and
281+
the consteval block is reachable from $p_3$.
282282
\end{itemize}
283283
\end{example}
284284

0 commit comments

Comments
 (0)