Skip to content

Commit f368144

Browse files
burblebeetkoeppe
authored andcommitted
CWG2870 Combining absent encoding-prefixes
1 parent aa46088 commit f368144

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

source/lex.tex

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1901,16 +1901,11 @@
19011901

19021902
\pnum
19031903
\indextext{concatenation!string}%
1904-
The common \grammarterm{encoding-prefix}
1905-
for a sequence of adjacent \grammarterm{string-literal}s
1906-
is determined pairwise as follows.
1907-
If two \grammarterm{string-literal}{s} have
1908-
the same \grammarterm{encoding-prefix},
1909-
the common \grammarterm{encoding-prefix} is that \grammarterm{encoding-prefix}.
1910-
If one \grammarterm{string-literal} has no \grammarterm{encoding-prefix},
1911-
the common \grammarterm{encoding-prefix} is that
1912-
of the other \grammarterm{string-literal}.
1913-
Any other combinations are ill-formed.
1904+
The \grammarterm{string-literal}{s} in
1905+
any sequence of adjacent \grammarterm{string-literal}{s}
1906+
shall have at most one unique \grammarterm{encoding-prefix} among them.
1907+
The common \grammarterm{encoding-prefix} of the sequence is
1908+
that \grammarterm{encoding-prefix}, if any.
19141909
\begin{note}
19151910
A \grammarterm{string-literal}'s rawness has
19161911
no effect on the determination of the common \grammarterm{encoding-prefix}.

0 commit comments

Comments
 (0)