This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Use NOT_REACHED for the impossible case.
authorJarkko Hietaniemi <jhi@iki.fi>
Fri, 30 May 2014 01:24:47 +0000 (21:24 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Fri, 30 May 2014 01:30:19 +0000 (21:30 -0400)
commit63b558ddd980cd36bcbd8a7465a3412e886ba75e
tree85b41ed1a13a78b52ec7cc439537fdc4a8b13e88
parent8be3c4ca13376174c7c23f3a85d05cb2920d9170
Use NOT_REACHED for the impossible case.

The default case really is impossible because all the valid
enums values are already covered in the switch.

The NOT_REACHED; is for the compiler (from perl.h),
the /* NOTREACHED */ is for static analyzers.
regexp.h