Skip to content

Commit 48da313

Browse files
committed
[lex.string] Remove mention of trigraphs from raw string literal example.
Fixes #1635.
1 parent 1268aa0 commit 48da313

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

source/lex.tex

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1518,18 +1518,11 @@
15181518
is equivalent to \tcode{"\textbackslash n)\textbackslash \textbackslash \textbackslash na\textbackslash"\textbackslash n"}. The raw string
15191519

15201520
\begin{codeblock}
1521-
R"(??)"
1521+
R"(x = "\"y\"")"
15221522
\end{codeblock}
15231523

1524-
is equivalent to \tcode{"\textbackslash?\textbackslash?"}. The raw string
1525-
1526-
\begin{codeblock}
1527-
R"#(
1528-
)??="
1529-
)#"
1530-
\end{codeblock}
1531-
1532-
is equivalent to \tcode{"\textbackslash n)\textbackslash?\textbackslash?=\textbackslash"\textbackslash n"}. \end{example}
1524+
is equivalent to \tcode{"x = \textbackslash "\textbackslash\textbackslash\textbackslash "y\textbackslash\textbackslash\textbackslash "\textbackslash ""}.
1525+
\end{example}
15331526

15341527
\pnum
15351528
\indextext{string!type of}%

0 commit comments

Comments
 (0)