1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-03 00:53:01 +00:00

Update docstring format.

Also add :p flag to fiber/new, change implemntation of with-dyns, and
make meson build install static library by default.
This commit is contained in:
Calvin Rose
2019-06-08 10:30:30 -04:00
parent f00a2770ef
commit d9a4ef05ac
14 changed files with 62 additions and 53 deletions

View File

@@ -1061,7 +1061,7 @@ static const JanetReg peg_cfuns[] = {
},
{
"peg/match", cfun_peg_match,
JDOC("(peg/match peg text [,start=0])\n\n"
JDOC("(peg/match peg text &opt start & args)\n\n"
"Match a Parsing Expression Grammar to a byte string and return an array of captured values. "
"Returns nil if text does not match the language defined by peg. The syntax of PEGs are very "
"similar to those defined by LPeg, and have similar capabilities.")