1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-29 18:00:26 +00:00

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

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,