diff options
author | Yves Orton <demerphq@gmail.com> | 2023-03-18 13:16:17 +0100 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2023-03-19 05:27:01 +0800 |
commit | b3703faa10166966785f9e5de78ffc972823a979 (patch) | |
tree | f9d19a9cf24234d90809b5743e7f703b8b0a3a29 /embed.h | |
parent | 4d51d5bc07c99bc5811ccbae1503b27d813e0743 (diff) | |
download | perl-b3703faa10166966785f9e5de78ffc972823a979.tar.gz |
regexec.c - convert CAPTURE_CLEAR into an inline static function
This makes it easier to debug, and type checks parameters and the
like. It does make it somewhat slower in debug mode, but so what.
Diffstat (limited to 'embed.h')
-rw-r--r-- | embed.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1941,6 +1941,7 @@ # define backup_one_LB(a,b,c) S_backup_one_LB(aTHX_ a,b,c) # define backup_one_SB(a,b,c) S_backup_one_SB(aTHX_ a,b,c) # define backup_one_WB(a,b,c,d) S_backup_one_WB(aTHX_ a,b,c,d) +# define capture_clear(a,b,c,d) S_capture_clear(aTHX_ a,b,c,d comma_aDEPTH) # define find_byclass(a,b,c,d,e) S_find_byclass(aTHX_ a,b,c,d,e) # define find_next_masked S_find_next_masked # define find_span_end S_find_span_end |