Skip to content

Commit 84ee534

Browse files
committed
Jens feedback
1 parent 03ac024 commit 84ee534

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

source/declarations.tex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6815,16 +6815,16 @@
68156815
\bnfindent \placeholder{promise-type} \exposid{promise} \placeholder{promise-constructor-arguments} \terminal{;}\br
68166816
% FIXME: \bnfindent \exposid{promise}\terminal{.get_return_object()} \terminal{;}
68176817
% ... except that it's not a discarded-value expression
6818-
\bnfindent \keyword{try} \terminal{\{}\br
6819-
\bnfindent\bnfindent \keyword{co_await} \terminal{\exposid{promise}.initial_suspend()} \terminal{;}\br
6818+
\bnfindent \terminal{try} \terminal{\{}\br
6819+
\bnfindent\bnfindent \terminal{co_await} \terminal{\exposid{promise}.initial_suspend()} \terminal{;}\br
68206820
\bnfindent\bnfindent function-body\br
6821-
\bnfindent \terminal{\}} \keyword{catch} \terminal{( ... ) \{}\br
6822-
\bnfindent\bnfindent \keyword{if} \terminal{(!\exposid{initial-await-resume-called})}\br
6823-
\bnfindent\bnfindent\bnfindent \keyword{throw} \terminal{;}\br
6821+
\bnfindent \terminal{\} catch ( ... ) \{}\br
6822+
\bnfindent\bnfindent \terminal{if (!\exposid{initial-await-resume-called})}\br
6823+
\bnfindent\bnfindent\bnfindent \terminal{throw} \terminal{;}\br
68246824
\bnfindent\bnfindent \terminal{\exposid{promise}.unhandled_exception()} \terminal{;}\br
68256825
\bnfindent \terminal{\}}\br
68266826
\exposid{final-suspend} \terminal{:}\br
6827-
\bnfindent \keyword{co_await} \terminal{\exposid{promise}.final_suspend()} \terminal{;}\br
6827+
\bnfindent \terminal{co_await} \terminal{\exposid{promise}.final_suspend()} \terminal{;}\br
68286828
\terminal{\}}
68296829
\end{ncsimplebnf}
68306830
where

source/expressions.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@
322322
If a program invokes
323323
a defaulted copy/move constructor or copy/move assignment operator
324324
for a union of type \tcode{U} with a glvalue argument
325-
that does not denote an object of type \cv{}~\tcode{U} within its lifetime,
325+
that does not denote an object of type \cv{}~\keyword{U} within its lifetime,
326326
the behavior is undefined.
327327
\begin{note}
328328
In C, an entire object of structure type can be accessed, e.g., using assignment.

source/lex.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1679,7 +1679,7 @@
16791679
\topline
16801680
\lhdr{\grammarterm{floating-point-suffix}} & \rhdr{type} \\ \capsep
16811681
none & \keyword{double} \\
1682-
\tcode{f} or \tcode{F} & \keyword{float} \\
1682+
\tcode{f} or \tcode{F} & \keyword {float} \\
16831683
\tcode{l} or \tcode{L} & \keyword{long} \keyword{double} \\
16841684
\tcode{f16} or \tcode{F16} & \tcode{std::float16_t} \\
16851685
\tcode{f32} or \tcode{F32} & \tcode{std::float32_t} \\

0 commit comments

Comments
 (0)