Skip to content

Commit 5df52bb

Browse files
committed
[lex.key] Change keyword table to use multicolfloattable.
1 parent 5d81baf commit 5df52bb

File tree

1 file changed

+81
-94
lines changed

1 file changed

+81
-94
lines changed

source/lex.tex

Lines changed: 81 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -670,101 +670,88 @@
670670
as keywords (that is, they are unconditionally treated as keywords in
671671
phase 7) except in an \grammarterm{attribute-token}\iref{dcl.attr.grammar}:
672672

673-
\begin{floattable}{Keywords}{tab:keywords}
673+
\begin{multicolfloattable}{Keywords}{tab:keywords}
674674
{lllll}
675-
\topline
676-
677-
\tcode{alignas} &
678-
\tcode{const_cast} &
679-
\tcode{for} &
680-
\tcode{public} &
681-
\tcode{thread_local} \\
682-
683-
\tcode{alignof} &
684-
\tcode{continue} &
685-
\tcode{friend} &
686-
\tcode{register} &
687-
\tcode{throw} \\
688-
689-
\tcode{asm} &
690-
\tcode{decltype} &
691-
\tcode{goto} &
692-
\tcode{reinterpret_cast} &
693-
\tcode{true} \\
694-
695-
\tcode{auto} &
696-
\tcode{default} &
697-
\tcode{if} &
698-
\tcode{requires} &
699-
\tcode{try} \\
700-
701-
\tcode{bool} &
702-
\tcode{delete} &
703-
\tcode{inline} &
704-
\tcode{return} &
705-
\tcode{typedef} \\
706-
707-
\tcode{break} &
708-
\tcode{do} &
709-
\tcode{int} &
710-
\tcode{short} &
711-
\tcode{typeid} \\
712-
713-
\tcode{case} &
714-
\tcode{double} &
715-
\tcode{long} &
716-
\tcode{signed} &
717-
\tcode{typename} \\
718-
719-
\tcode{catch} &
720-
\tcode{dynamic_cast} &
721-
\tcode{mutable} &
722-
\tcode{sizeof} &
723-
\tcode{union} \\
724-
725-
\tcode{char} &
726-
\tcode{else} &
727-
\tcode{namespace} &
728-
\tcode{static} &
729-
\tcode{unsigned} \\
730-
731-
\tcode{char16_t} &
732-
\tcode{enum} &
733-
\tcode{new} &
734-
\tcode{static_assert} &
735-
\tcode{using} \\
736-
737-
\tcode{char32_t} &
738-
\tcode{explicit} &
739-
\tcode{noexcept} &
740-
\tcode{static_cast} &
741-
\tcode{virtual} \\
742-
743-
\tcode{class} &
744-
\tcode{export} &
745-
\tcode{nullptr} &
746-
\tcode{struct} &
747-
\tcode{void} \\
748-
749-
\tcode{concept} &
750-
\tcode{extern} &
751-
\tcode{operator} &
752-
\tcode{switch} &
753-
\tcode{volatile} \\
754-
755-
\tcode{const} &
756-
\tcode{false} &
757-
\tcode{private} &
758-
\tcode{template} &
759-
\tcode{wchar_t} \\
760-
761-
\tcode{constexpr} &
762-
\tcode{float} &
763-
\tcode{protected} &
764-
\tcode{this} &
765-
\tcode{while} \\
766-
767-
\end{floattable}
675+
\tcode{alignas} \\
676+
\tcode{alignof} \\
677+
\tcode{asm} \\
678+
\tcode{auto} \\
679+
\tcode{bool} \\
680+
\tcode{break} \\
681+
\tcode{case} \\
682+
\tcode{catch} \\
683+
\tcode{char} \\
684+
\tcode{char16_t} \\
685+
\tcode{char32_t} \\
686+
\tcode{class} \\
687+
\tcode{concept} \\
688+
\tcode{const} \\
689+
\tcode{constexpr} \\
690+
\columnbreak
691+
\tcode{const_cast} \\
692+
\tcode{continue} \\
693+
\tcode{decltype} \\
694+
\tcode{default} \\
695+
\tcode{delete} \\
696+
\tcode{double} \\
697+
\tcode{do} \\
698+
\tcode{dynamic_cast} \\
699+
\tcode{else} \\
700+
\tcode{enum} \\
701+
\tcode{explicit} \\
702+
\tcode{export} \\
703+
\tcode{extern} \\
704+
\tcode{false} \\
705+
\tcode{float} \\
706+
\columnbreak
707+
\tcode{for} \\
708+
\tcode{friend} \\
709+
\tcode{goto} \\
710+
\tcode{if} \\
711+
\tcode{inline} \\
712+
\tcode{int} \\
713+
\tcode{long} \\
714+
\tcode{mutable} \\
715+
\tcode{namespace} \\
716+
\tcode{new} \\
717+
\tcode{noexcept} \\
718+
\tcode{nullptr} \\
719+
\tcode{operator} \\
720+
\tcode{private} \\
721+
\tcode{protected} \\
722+
\columnbreak
723+
\tcode{public} \\
724+
\tcode{register} \\
725+
\tcode{reinterpret_cast} \\
726+
\tcode{requires} \\
727+
\tcode{return} \\
728+
\tcode{short} \\
729+
\tcode{signed} \\
730+
\tcode{sizeof} \\
731+
\tcode{static} \\
732+
\tcode{static_assert} \\
733+
\tcode{static_cast} \\
734+
\tcode{struct} \\
735+
\tcode{switch} \\
736+
\tcode{template} \\
737+
\tcode{this} \\
738+
\columnbreak
739+
\tcode{thread_local} \\
740+
\tcode{throw} \\
741+
\tcode{true} \\
742+
\tcode{try} \\
743+
\tcode{typedef} \\
744+
\tcode{typeid} \\
745+
\tcode{typename} \\
746+
\tcode{union} \\
747+
\tcode{unsigned} \\
748+
\tcode{using} \\
749+
\tcode{virtual} \\
750+
\tcode{void} \\
751+
\tcode{volatile} \\
752+
\tcode{wchar_t} \\
753+
\tcode{while} \\
754+
\end{multicolfloattable}
768755

769756
\begin{note} The \tcode{export} and \tcode{register} keywords are unused but
770757
are reserved for future use.\end{note}

0 commit comments

Comments
 (0)