Commit 2be12b24bc

Emilio G. Cota <cota@braap.org>
2020-01-11 22:59:19
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.
1 parent 4d4852a
Changed files (1)
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#}