mirror of
https://github.com/janet-lang/janet
synced 2025-11-07 19:13:02 +00:00
Update janet_pcall interface
The programmer can now not only get the used fiber, but provide a fiber to reuse if many calls are made in succession.
This commit is contained in:
@@ -1057,7 +1057,6 @@ static Janet cfun_peg_match(int32_t argc, Janet *argv) {
|
||||
s.captures = janet_array(0);
|
||||
s.scratch = janet_buffer(10);
|
||||
s.tags = janet_buffer(10);
|
||||
|
||||
s.constants = peg->constants;
|
||||
s.bytecode = peg->bytecode;
|
||||
const uint8_t *result = peg_rule(&s, s.bytecode, bytes.bytes + start);
|
||||
|
||||
Reference in New Issue
Block a user