diff options
author | Karl Williamson <khw@cpan.org> | 2019-03-13 15:20:50 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-03-13 15:42:49 -0600 |
commit | 2892a27e931e4ba534dd20dc9c94542eda19afbf (patch) | |
tree | 44a99c468f857dd4cd5b9764b89066be15294e13 /regexec.c | |
parent | 1f25ceb1dbba05ad62ee0a371c12863528fc4a9f (diff) | |
download | perl-2892a27e931e4ba534dd20dc9c94542eda19afbf.tar.gz |
regexec.c: Add assertion
Diffstat (limited to 'regexec.c')
-rw-r--r-- | regexec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -155,7 +155,7 @@ static const char* const non_utf8_target_but_utf8_required #define NEXTCHR_EOS -10 /* nextchr has fallen off the end */ #define NEXTCHR_IS_EOS (nextchr < 0) -#define SET_nextchr \ +#define SET_nextchr __ASSERT_(locinput <= reginfo->strend) \ nextchr = ((locinput < reginfo->strend) ? UCHARAT(locinput) : NEXTCHR_EOS) #define SET_locinput(p) \ |