Skip to content

Commit

Permalink
doc/langref: mention that x is the sentinel in [N:x]T
Browse files Browse the repository at this point in the history
Without looking at the example it is not possible to know
whether N or x is the sentinel value. Fix it.
  • Loading branch information
cota authored and andrewrk committed Jan 13, 2020
1 parent 4d4852a commit 2be12b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/langref.html.in
Original file line number Diff line number Diff line change
Expand Up @@ -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#}
Expand Down

0 comments on commit 2be12b2

Please sign in to comment.