Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
18 changes: 9 additions & 9 deletions source/grammar.tex
Original file line number Diff line number Diff line change
Expand Up @@ -27,35 +27,35 @@

\begin{ncbnf}
typedef-name:\br
identifier\br
simple-template-id
identifier\br
simple-template-id
\end{ncbnf}

\begin{ncbnf}
namespace-name:\br
identifier\br
namespace-alias
identifier\br
namespace-alias
\end{ncbnf}

\begin{ncbnf}
namespace-alias:\br
identifier
identifier
\end{ncbnf}

\begin{ncbnf}
class-name:\br
identifier\br
simple-template-id
identifier\br
simple-template-id
\end{ncbnf}

\begin{ncbnf}
enum-name:\br
identifier
identifier
\end{ncbnf}

\begin{ncbnf}
simple-template-name:\br
identifier
identifier
\end{ncbnf}

\input{std-gram.ext}
20 changes: 10 additions & 10 deletions source/iostreams.tex
Original file line number Diff line number Diff line change
Expand Up @@ -15708,8 +15708,8 @@
{Enum class \tcode{file_type}}{fs.enum.file.type}
{lp{4.5in}}
\topline
\lhdr{Constant} &
\rhdr{Meaning} \\ \capsep
\lhdr{Constant} &
\rhdr{Meaning} \\ \capsep

\tcode{\libmember{none}{file_type}} &
The type of the file has not been determined or an error occurred while
Expand Down Expand Up @@ -15759,7 +15759,7 @@
{lp{4in}}
\topline
\ohdrx{2}{Option group controlling \tcode{copy_file} function effects for existing target files} \\ \rowsep
\lhdr{Constant} & \rhdr{Meaning} \\ \capsep
\lhdr{Constant} & \rhdr{Meaning} \\ \capsep
\tcode{\libmember{none}{copy_options}} &
(Default) Error; file already exists. \\ \rowsep
\tcode{\libmember{skip_existing}{copy_options}} &
Expand All @@ -15770,14 +15770,14 @@
Overwrite the existing file if it is older than the replacement file. \\ \capsep

\ohdrx{2}{Option group controlling \tcode{copy} function effects for subdirectories} \\ \rowsep
\lhdr{Constant} & \rhdr{Meaning} \\ \capsep
\lhdr{Constant} & \rhdr{Meaning} \\ \capsep
\tcode{\libmember{none}{copy_options}} &
(Default) Do not copy subdirectories. \\ \rowsep
\tcode{\libmember{recursive}{copy_options}} &
Recursively copy subdirectories and their contents. \\ \capsep

\ohdrx{2}{Option group controlling \tcode{copy} function effects for symbolic links} \\ \rowsep
\lhdr{Constant} & \rhdr{Meaning} \\ \capsep
\lhdr{Constant} & \rhdr{Meaning} \\ \capsep
\tcode{\libmember{none}{copy_options}} &
(Default) Follow symbolic links. \\ \rowsep
\tcode{\libmember{copy_symlinks}{copy_options}} &
Expand All @@ -15787,7 +15787,7 @@
Ignore symbolic links. \\ \capsep

\ohdrx{2}{Option group controlling \tcode{copy} function effects for choosing the form of copying} \\ \rowsep
\lhdr{Constant} & \rhdr{Meaning} \\ \capsep
\lhdr{Constant} & \rhdr{Meaning} \\ \capsep
\tcode{\libmember{none}{copy_options}} &
(Default) Copy content. \\ \rowsep
\tcode{\libmember{directories_only}{copy_options}} &
Expand All @@ -15811,8 +15811,8 @@
{Enum class \tcode{perms}}{fs.enum.perms}
{lrlp{3.2in}}
\topline
\lhdr{Name} & \chdr{Value} & \chdr{POSIX} & \rhdr{Definition or notes} \\
& & \chdr{macro} & \\ \capsep
\lhdr{Name} & \chdr{Value} & \chdr{POSIX} & \rhdr{Definition or notes} \\
& & \chdr{macro} & \\ \capsep

\tcode{\libmember{none}{perms}} & \tcode{0} & &
There are no permissions set for the file. \\ \rowsep
Expand Down Expand Up @@ -15903,8 +15903,8 @@
{Enum class \tcode{directory_options}}{fs.enum.dir.opts}
{lp{3in}}
\topline
\lhdr{Name} &
\rhdr{Meaning} \\ \capsep
\lhdr{Name} &
\rhdr{Meaning} \\ \capsep

\tcode{\libmember{none}{directory_options}} &
(Default) Skip directory symlinks, permission denied is an error. \\ \rowsep
Expand Down
4 changes: 2 additions & 2 deletions source/lex.tex
Original file line number Diff line number Diff line change
Expand Up @@ -929,15 +929,15 @@
\nontermdef{identifier-start}\br
nondigit\br
\textnormal%
{an element of the translation character set with the Unicode property XID_Start or the Unicode property ID_Compat_Math_Start}
{an element of the translation character set with the Unicode property XID_Start or the Unicode property ID_Compat_Math_Start}
\end{bnf}

\begin{bnf}
\nontermdef{identifier-continue}\br
digit\br
nondigit\br
\textnormal%
{an element of the translation character set with the Unicode property XID_Continue or the Unicode property ID_Compat_Math_Continue}
{an element of the translation character set with the Unicode property XID_Continue or the Unicode property ID_Compat_Math_Continue}
\end{bnf}

\begin{bnf}
Expand Down
2 changes: 1 addition & 1 deletion source/memory.tex
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
volatile T* start_lifetime_as_array(volatile void* p, size_t n) noexcept; // freestanding
template<class T>
const volatile T* start_lifetime_as_array(const volatile void* p, // freestanding
size_t n) noexcept;
size_t n) noexcept;

// \ref{allocator.tag}, allocator argument tag
struct allocator_arg_t { explicit allocator_arg_t() = default; }; // freestanding
Expand Down
8 changes: 4 additions & 4 deletions source/numerics.tex
Original file line number Diff line number Diff line change
Expand Up @@ -10142,8 +10142,8 @@
\begin{formula}{sf.cmath.cyl.bessel.k}
\mathsf{K}_\nu(x) =
(\pi/2)\mathrm{i}^{\nu+1} ( \mathsf{J}_\nu(\mathrm{i}x)
+ \mathrm{i} \mathsf{N}_\nu(\mathrm{i}x)
)
+ \mathrm{i} \mathsf{N}_\nu(\mathrm{i}x)
)
=
\left\{
\begin{array}{cl}
Expand Down Expand Up @@ -10389,7 +10389,7 @@
\begin{formula}{sf.cmath.hermite}
\mathsf{H}_n(x) =
(-1)^n e^{x^2} \frac{ \mathsf{d} ^n}
{ \mathsf{d}x^n} \, e^{-x^2}
{ \mathsf{d}x^n} \, e^{-x^2}
\end{formula}

\pnum
Expand Down Expand Up @@ -10511,7 +10511,7 @@
\\
\displaystyle
\frac{1}
{1 - 2^{1-x}}
{1 - 2^{1-x}}
\sum_{k=1}^\infty (-1)^{k-1} k^{-x},
& \mbox{for $0 \le x \le 1$}
\\
Expand Down
2 changes: 1 addition & 1 deletion source/ranges.tex
Original file line number Diff line number Diff line change
Expand Up @@ -13840,7 +13840,7 @@
Equivalent to:
\begin{codeblock}
return @\exposid{to-unsigned-like}@(ranges::min(@\exposid{parent_}@->@\exposid{remainder_}@,
ranges::end(@\exposid{parent_}@->@\exposid{base_}@) - *@\exposid{parent_}@->@\exposid{current_}@));
ranges::end(@\exposid{parent_}@->@\exposid{base_}@) - *@\exposid{parent_}@->@\exposid{current_}@));
\end{codeblock}
\end{itemdescr}

Expand Down
4 changes: 4 additions & 0 deletions tools/check-source.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ grep -ne '\\pnum.\+$' $texfiles |
fail "pnum not alone on line" || failed=1
# Fixup: sed '/\\pnum.\+$/s/\\pnum\s*/\\pnum\n/'

# A line must not start with a tab
grep -ne '^ ' $texfiles |
fail 'No line should begin with a tab' || failed=1

# Two consecutive \pnum
for f in $texfiles; do
awk 'prev == $0 && /^\\pnum/ { print FILENAME ":" FNR ":" } { prev = $0 }' $f
Expand Down
Loading