This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regexec.c: Clean up macro/code interface slightly
authorKarl Williamson <khw@cpan.org>
Mon, 23 Jun 2014 01:13:10 +0000 (19:13 -0600)
committerKarl Williamson <khw@cpan.org>
Fri, 27 Jun 2014 00:09:18 +0000 (18:09 -0600)
commit5b8bb145554d90d7a985c271cf673ab2b63413d1
treecff87392a4d422d67652e148117cfb157e46d202
parentb2f4e957e3a5b840ae5e6b1d807b03ef82e766dc
regexec.c: Clean up macro/code interface slightly

These code-generating macros are a pain to maintain.  These have side
effects and use variables outside the macros.  This commit cleans up the
interface slightly by separating the operand of a function from the
function, so the code outside doesn't have to know as much about the
macro as before.  The next commit will fix up the remaining parameter
like this.
regexec.c