From 2be12b24bcafd4b2785d61dcfbaa27f9e3cc705d Mon Sep 17 00:00:00 2001 From: "Emilio G. Cota" Date: Sat, 11 Jan 2020 16:59:19 -0500 Subject: [PATCH] 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. --- doc/langref.html.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/langref.html.in b/doc/langref.html.in index 675e3397b9..233e7799fb 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -1818,7 +1818,7 @@ test "multidimensional arrays" { {#header_open|Sentinel-Terminated Arrays#}

- 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#}.

{#code_begin|test|null_terminated_array#}