This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Use STATIC_ASSERT_STMT for checking compile-time invariants
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Fri, 15 Feb 2019 11:15:03 +0000 (11:15 +0000)
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Fri, 15 Feb 2019 11:23:35 +0000 (11:23 +0000)
commitde8aedb225e5852b32ab9143c1cc234e65af26ba
tree3ffab06fdc85f2019d214c346895acda7d7343a0
parentbe76079c87db438e1123ff79ee161badcb258605
Use STATIC_ASSERT_STMT for checking compile-time invariants

Better to have the build fail if they're wrong than relying on the
code path being hit at runtime in a DEBUGGING build.
regcomp.c