regcomp.c: Use a weird value in a place where ignored
authorKarl Williamson <khw@cpan.org>
Sun, 18 Nov 2018 20:39:49 +0000 (13:39 -0700)
committerKarl Williamson <khw@cpan.org>
Tue, 27 Nov 2018 05:08:09 +0000 (22:08 -0700)
This way, it doesn't confuse that it is legal, and should it stop being
ignored in the called function, it will show up as a problem much
sooner.

regcomp.c

index 7c570e3..4a87c94 100644 (file)
--- a/regcomp.c
+++ b/regcomp.c
@@ -14447,7 +14447,8 @@ S_regatom(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth)
                     }
                 }
 
-                alloc_maybe_populate_EXACT(pRExC_state, ret, flagp, len, ender,
+                alloc_maybe_populate_EXACT(pRExC_state, ret, flagp, len,
+                                           UV_MAX,  /* unused here */
                                            FALSE /* Don't look to see if could
                                                     be turned into an EXACT
                                                     node, as we have already