Update parser documentation.

This commit is contained in:
Calvin Rose 2018-11-17 11:59:26 -05:00
parent 0ff9ac2fb9
commit 13d43eb09d
1 changed files with 2 additions and 1 deletions

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"