Re: [pcre-dev] New header file location

Top Page

Reply to this message
Author: ph10
To: Ze'ev Atlas
CC:, Zoltán Herczeg
Subject: Re: [pcre-dev] New header file location
On Mon, 2 Dec 2019, Ze'ev Atlas wrote:

> When I started, Philip had assured me that pcre2_jit_compile.c is
> indeed in src but does nothing in my context.  He had also assired me
> that most of the rest of jit related code would be in src/sljit.  I do
> not understand why the change of heart.  These headers are not needed
> when we compile for non-jit.  Their natural place is sljit.

Not really; sljit contains code that is used in many projects, not just
PCRE2, so it would be wrong to put PCRE2-specific code in there. In
effect, sljit is a "project" in its own right. For example, you will see
exactly the same files in the sljit directory in PCRE1, though the
PCRE-specific files are different.

I suppose we could have put all the files whose names begin with
pcre2_jit into yet another directory, but I think it is probably too late
to change now. Sorry about that.


Philip Hazel