commit 2be12b24bcafd4b2785d61dcfbaa27f9e3cc705d (tree)
parent 4d4852ad31aa373d85cc43eb8631474323300b57
Author: Emilio G. Cota <cota@braap.org>
Date: Sat, 11 Jan 2020 16:59:19 -0500
doc/langref: mention that x is the sentinel in [N:x]T
Without looking at the example it is not possible to know
whether N or x is the sentinel value. Fix it.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/langref.html.in b/doc/langref.html.in
@@ -1818,7 +1818,7 @@ test "multidimensional arrays" {
{#header_open|Sentinel-Terminated Arrays#}
<p>
- The syntax {#syntax#}[N:x]T{#endsyntax#} describes an array which has a sentinel element at the
+ The syntax {#syntax#}[N:x]T{#endsyntax#} describes an array which has a sentinel element of value {#syntax#}x{#endsyntax#} at the
index corresponding to {#syntax#}len{#endsyntax#}.
</p>
{#code_begin|test|null_terminated_array#}