Branch: refs/heads/yves/add_non_zero_assert_support_to_embed_fnc
Home: https://github.com/Perl/perl5
Commit: 6947433abbe9219f7619c09442620d14287c20b0
https://github.com/Perl/perl5/commit/6947433abbe9219f7619c09442620d14287c20b0
Author: Yves Orton <[email protected]>
Date: 2023-01-13 (Fri, 13 Jan 2023)
Changed paths:
M embed.fnc
M proto.h
M regen/embed.pl
M regexec.c
Log Message:
-----------
embed.pl - add a way to declare a parameter should be non-zero
This autogenerates the required asserts to validate a parameter is non-zero.
It uses it to replace the check in regrepeat() as a first example.