This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
eliminate PL_regdummy
authorDavid Mitchell <davem@iabyn.com>
Fri, 31 May 2013 21:57:21 +0000 (22:57 +0100)
committerDavid Mitchell <davem@iabyn.com>
Sun, 2 Jun 2013 21:28:55 +0000 (22:28 +0100)
commitf7c7e32a45f023c8046ae1bacda1a9568fcfe755
tree045ac3144e319d9fccf37b04eac05d5e0d64873c
parentb3d298be91e6629f3ce52b46c746fbe982114323
eliminate PL_regdummy

This global (per-interpreter) var is just used during regex compilation as
a placeholder to point RExC_emit at during the first (non-emitting) pass,
to indicate to not to emit anything. There's no need for it to be a global
var: just add it as an extra field in the RExC_state_t struct instead.
embedvar.h
intrpvar.h
regcomp.c
regcomp.h
sv.c