diff options
author | David Mitchell <davem@iabyn.com> | 2011-08-19 12:10:01 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2012-06-13 13:25:49 +0100 |
commit | 74529a43ce600615669683dcaf9e9521d374031c (patch) | |
tree | 0903f5576c093d42c766607eceb2f318d7f1768b /op.h | |
parent | f8b2cf8affb6b075db359edf9986904b971337f8 (diff) | |
download | perl-74529a43ce600615669683dcaf9e9521d374031c.tar.gz |
add Perl_re_op_compile function
Make Perl_re_compile() a thin wrapper around a new function,
Perl_re_op_compile(). This function can take either a string pattern or a
list of ops. Then make pmruntime() pass a list of ops directly to it, rather
concatenating all the consts into a single string and passing the const to
Perl_re_compile(). For now, Perl_re_op_compile just does the same: if its
passed an op tree rather than an SV, then it just concats the consts.
So this is is just the next step towards eventually allowing the regex
engine to use the ops directly.
Diffstat (limited to 'op.h')
0 files changed, 0 insertions, 0 deletions