1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-28 19:19:53 +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, "parser/where", cfun_parse_where,
JDOC("(parser/where parser &opt line col)\n\n" 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 " "Returns the current line number and column of the parser's internal state. If line is "
"line and col are provided, the current line number and column of the parser are set to " "provided, the current line number of the parser is first set to that value. If column is "
"those values.") "also provided, the current column number of the parser is also first set to that value.")
}, },
{ {
"parser/eof", cfun_parse_eof, "parser/eof", cfun_parse_eof,