Skip to content

[DO NOT MERGE] Proposed Core reorganization for C++29 #7272

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 18 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
698b8b1
[dcl.dcl][stmt.stmt] Remove tautonyms from top level stable labels
AlisdairM Jul 28, 2024
9c3581c
[xref cpp23] Remove reference to diff against C++23
AlisdairM Jul 28, 2024
23b5f88
[config.tex] Create and apply macros to denote first and last core ch…
AlisdairM Jul 30, 2024
fda3af0
[basic.pre] Defragment specification of names and entities
AlisdairM Jul 8, 2024
0d728e1
[lex.separate][module.unit] move definitions of program and translati…
AlisdairM Jul 16, 2024
14e9147
[lex] Reorganize contents to follow grammar and phases of translation
AlisdairM Jul 30, 2024
e5af480
[lex.charset] Extract universal-character-name grammar to new subclause
AlisdairM Jun 17, 2024
61a5ad4
[lex.charset] Introduced parent [lax.char] clause for character sets …
AlisdairM Jun 17, 2024
4750450
[lex.charset] Rebase onto main
AlisdairM Jul 16, 2024
e954ff8
[module] Move modules clause to immediately follow lexing
AlisdairM Sep 29, 2024
8c913ca
[lex] Prepare to merge phase 4 preprocessor into lex
AlisdairM Sep 29, 2024
04c96f6
[lex][cpp] Merge [cpp] into [lex]
AlisdairM Sep 29, 2024
6b4fb14
Move names, linkage, and program execution into [lex]
AlisdairM Sep 30, 2024
19c9172
[basic] Reorganize subclauses for locality of reference
AlisdairM Sep 30, 2024
3e2ddc4
Reorder several lists to be by clause number
AlisdairM Oct 1, 2024
5d34bf2
Merge exception handling into statements
AlisdairM Oct 1, 2024
3eaa2da
Redistribute parts of exception handling as appropriate
AlisdairM Oct 2, 2024
66cf23b
Slightly less aggressive changes following feedback from Jens
AlisdairM Oct 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[lex.charset] Rebase onto main
Also, merge the sentence on where universal characters
are prohibited into the sentence describing universal
characters, to make clear that there is no contradiction
between nominating a character, and how that character
can be used.
  • Loading branch information
AlisdairM committed Oct 2, 2024
commit 4750450d810544bd0ed21d5cd4f35a93d8994153
30 changes: 14 additions & 16 deletions source/lex.tex
Original file line number Diff line number Diff line change
Expand Up @@ -430,8 +430,20 @@
\end{bnf}

\pnum
The \grammarterm{universal-character-name} construct provides a way to name
any element in the translation character set using just the basic character set.
The \grammarterm{universal-character-name} construct provides a way to name any
element in the translation character set using just the basic character set.
If a \grammarterm{universal-character-name} outside
the \grammarterm{c-char-sequence}, \grammarterm{s-char-sequence}, or
\grammarterm{r-char-sequence} of a \grammarterm{character-literal} or
\grammarterm{string-literal}
(in either case, including within a \grammarterm{user-defined-literal})
corresponds to a control character or to a character in the basic character set,
the program is ill-formed.
\begin{note}
A sequence of characters resembling a \grammarterm{universal-character-name} in an
\grammarterm{r-char-sequence}\iref{lex.string} does not form a
\grammarterm{universal-character-name}.
\end{note}

\pnum
A \grammarterm{universal-character-name}
Expand Down Expand Up @@ -460,20 +472,6 @@
None of these names or aliases have leading or trailing spaces.
\end{note}

\pnum
If a \grammarterm{universal-character-name} outside
the \grammarterm{c-char-sequence}, \grammarterm{s-char-sequence}, or
\grammarterm{r-char-sequence} of
a \grammarterm{character-literal} or \grammarterm{string-literal}
(in either case, including within a \grammarterm{user-defined-literal})
corresponds to a control character or
to a character in the basic character set, the program is ill-formed.
\begin{note}
A sequence of characters resembling a \grammarterm{universal-character-name} in an
\grammarterm{r-char-sequence}\iref{lex.string} does not form a
\grammarterm{universal-character-name}.
\end{note}

\rSec1[lex.comment]{Comments}

\pnum
Expand Down