Clarify docstring of parser/where

This commit is contained in:
Michael Camilleri 2020-12-15 16:41:45 +09:00
parent 77b79e9899
commit 04f6c7b156
No known key found for this signature in database
GPG Key ID: 7EB218A48DF8B572
1 changed files with 3 additions and 3 deletions

View File

@ -1260,9 +1260,9 @@ static const JanetReg parse_cfuns[] = {
{
"parser/where", cfun_parse_where,
JDOC("(parser/where parser &opt line col)\n\n"
"Returns the current line number and column of the parser's internal state. If line or "
"line and col are provided, the current line number and column of the parser are set to "
"those values.")
"Returns the current line number and column of the parser's internal state. If line is "
"provided, the current line number of the parser is first set to that value. If column is "
"also provided, the current column number of the parser is also first set to that value.")
},
{
"parser/eof", cfun_parse_eof,