Skip to content

Commit 77ee6ed

Browse files
jensmaurertkoeppe
authored andcommitted
[lex.literal] Properly format table headings
Fixes ISO/CS comment (C++23 proof)
1 parent 868db73 commit 77ee6ed

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

source/lex.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1466,8 +1466,8 @@
14661466
\begin{floattable}{Character literals}{lex.ccon.literal}
14671467
{l|l|l|l|l}
14681468
\topline
1469-
Encoding & Kind & Type & Associated char- & Example \\
1470-
prefix & & & acter encoding & \\
1469+
\lhdr{Encoding} & \chdr{Kind} & \chdr{Type} & \chdr{Associated char-} & \rhdr{Example} \\
1470+
\lhdr{prefix} & \chdr{} & \chdr{} & \chdr{acter encoding} & \\
14711471
\capsep
14721472
none &
14731473
\defnx{ordinary character literal}{literal!character!ordinary} &
@@ -1805,9 +1805,9 @@
18051805
\begin{floattable}{String literals}{lex.string.literal}
18061806
{llp{2.6cm}p{2.3cm}p{4.7cm}}
18071807
\topline
1808-
Encoding & Kind & Type & Associated & Examples \\
1809-
prefix & & & character & \\
1810-
& & & encoding & \\
1808+
\lhdr{Enco-} & \chdr{Kind} & \chdr{Type} & \chdr{Associated} & \rhdr{Examples} \\
1809+
\lhdr{ding} & \chdr{} & \chdr{} & \chdr{character} & \rhdr{} \\
1810+
\lhdr{prefix} & \chdr{} & \chdr{} & \chdr{encoding} & \rhdr{} \\
18111811
\capsep
18121812
none &
18131813
\defnx{ordinary string literal}{literal!string!ordinary} &

source/locales.tex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2250,7 +2250,7 @@
22502250
\begin{floattable}{Integer conversions}{facet.num.get.int}
22512251
{lc}
22522252
\topline
2253-
\lhdr{State} & \tcode{stdio} equivalent \\ \capsep
2253+
\lhdr{State} & \rhdr{\tcode{stdio} equivalent} \\ \capsep
22542254
\tcode{basefield == oct} & \tcode{\%o} \\ \rowsep
22552255
\tcode{basefield == hex} & \tcode{\%X} \\ \rowsep
22562256
\tcode{basefield == 0} & \tcode{\%i} \\ \capsep
@@ -2268,7 +2268,7 @@
22682268
\begin{floattable}{Length modifier}{facet.num.get.length}
22692269
{lc}
22702270
\topline
2271-
\lhdr{Type} & Length modifier \\ \capsep
2271+
\lhdr{Type} & \rhdr{Length modifier} \\ \capsep
22722272
\tcode{short} & \tcode{h} \\ \rowsep
22732273
\tcode{unsigned short} & \tcode{h} \\ \rowsep
22742274
\tcode{long} & \tcode{l} \\ \rowsep
@@ -2599,7 +2599,7 @@
25992599
\begin{floattable}{Integer conversions}{facet.num.put.int}
26002600
{lc}
26012601
\topline
2602-
\lhdr{State} & \tcode{stdio} equivalent \\ \capsep
2602+
\lhdr{State} & \rhdr{\tcode{stdio} equivalent} \\ \capsep
26032603
\tcode{basefield == ios_base::oct} & \tcode{\%o} \\ \rowsep
26042604
\tcode{(basefield == ios_base::hex) \&\& !uppercase} & \tcode{\%x} \\ \rowsep
26052605
\tcode{(basefield == ios_base::hex)} & \tcode{\%X} \\ \rowsep
@@ -2614,7 +2614,7 @@
26142614
\begin{floattable}{Floating-point conversions}{facet.num.put.fp}
26152615
{lc}
26162616
\topline
2617-
\lhdr{State} & \tcode{stdio} equivalent \\ \capsep
2617+
\lhdr{State} & \rhdr{\tcode{stdio} equivalent} \\ \capsep
26182618
\tcode{floatfield == ios_base::fixed} & \tcode{\%f} \\ \rowsep
26192619
\tcode{floatfield == ios_base::scientific \&\& !uppercase} & \tcode{\%e} \\ \rowsep
26202620
\tcode{floatfield == ios_base::scientific} & \tcode{\%E} \\ \rowsep
@@ -2631,7 +2631,7 @@
26312631
\begin{floattable}{Length modifier}{facet.num.put.length}
26322632
{lc}
26332633
\topline
2634-
\lhdr{Type} & Length modifier \\ \capsep
2634+
\lhdr{Type} & \rhdr{Length modifier} \\ \capsep
26352635
\tcode{long} & \tcode{l} \\ \rowsep
26362636
\tcode{long long} & \tcode{ll} \\ \rowsep
26372637
\tcode{unsigned long} & \tcode{l} \\ \rowsep
@@ -2646,7 +2646,7 @@
26462646
\begin{floattable}{Numeric conversions}{facet.num.put.conv}
26472647
{llc}
26482648
\topline
2649-
\lhdr{Type(s)} & \chdr{State} & \tcode{stdio} equivalent \\ \capsep
2649+
\lhdr{Type(s)} & \chdr{State} & \rhdr{\tcode{stdio} equivalent} \\ \capsep
26502650
an integral type & \tcode{showpos} & \tcode{+} \\
26512651
& \tcode{showbase} & \tcode{\#} \\ \rowsep
26522652
a floating-point type & \tcode{showpos} & \tcode{+} \\

0 commit comments

Comments
 (0)