This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regexec.c: Add assert() to detect inconsistent ANYOF
authorKarl Williamson <public@khwilliamson.com>
Thu, 10 Mar 2011 15:22:00 +0000 (08:22 -0700)
committerKarl Williamson <public@khwilliamson.com>
Thu, 10 Mar 2011 16:37:58 +0000 (09:37 -0700)
commitccb2541ccb4742d6b229bcccef1d90c4d49d849e
tree0beca6a212d1831f631b97a265075b955079192a
parent6f8d7d0df3e3141d61246e6b0a3db12ab1fd7f92
regexec.c: Add assert() to detect inconsistent ANYOF

There have been various segfaults apparently due to trying to access
the swash (and allies) portion of an ANYOF which doesn't have that.
This doesn't show up on all platforms.  The assert() should detect
this and help debugging
regexec.c