1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-25 07:50:27 +00:00

Update parser documentation.

This commit is contained in:
Calvin Rose 2018-11-17 11:59:26 -05:00
parent 0ff9ac2fb9
commit 13d43eb09d

View File

@ -788,7 +788,8 @@ static const JanetReg cfuns[] = {
{"parser.consume", cfun_consume,
"(parser.consume parser bytes)\n\n"
"Input bytes into the parser and parse them. Will not throw errors "
"if there is a parse error. Returns the parser."
"if there is a parse error. Returns the bytes not consumed if the parser is "
"full or errors, or nil if the parser is still pending."
},
{"parser.byte", cfun_byte,
"(parser.byte parser b)\n\n"