mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-26 21:27:42 +00:00 
			
		
		
		
	Fix peg/replace-all and family - Fix #1027
This commit is contained in:
		| @@ -1662,7 +1662,9 @@ static PegCall peg_cfun_init(int32_t argc, Janet *argv, int get_replace) { | ||||
| } | ||||
|  | ||||
| static void peg_call_reset(PegCall *c) { | ||||
|     c->s.depth = JANET_RECURSION_GUARD; | ||||
|     c->s.captures->count = 0; | ||||
|     c->s.tagged_captures->count = 0; | ||||
|     c->s.scratch->count = 0; | ||||
|     c->s.tags->count = 0; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Calvin Rose
					Calvin Rose