Replace the longjmp()s in Perl_re_op_compile() with goto.
authorNicholas Clark <nick@ccl4.org>
Mon, 21 Jan 2013 16:15:30 +0000 (17:15 +0100)
committerNicholas Clark <nick@ccl4.org>
Tue, 19 Mar 2013 10:53:19 +0000 (11:53 +0100)
commita9d37de4f0d6753136e788d7997eaef2b3e47ba0
treea52e10046282a940059852d0162029616575fd0b
parent8aed9c310f6afc92a1b486e88fa61c5ccd648a9a
Replace the longjmp()s in Perl_re_op_compile() with goto.

The regex parse needs to be restarted if it turns out that it should be done
as UTF-8, not bytes. Using setjmp()/longjmp() complicates compilation
considerably, causing warnings about missing use of volatile, and hitting
code generation errors from clang's ASAN. Using goto is much clearer.
regcomp.c