Lähettäjä: Philip Hazel Päiväys: Vastaanottaja: Zoltán Herczeg Kopio: pcre-dev Aihe: Re: [pcre-dev] pcre_compile.c: error_texts
On Tue, 1 Jan 2013, Zoltán Herczeg wrote:
> > But again, this requires some sort of preprocessing in order to deal
> > with the XSTRING(...), which are fixed at configure time. And if we
> > accept to do the preprocessing, then I think we can statically build
> > the array of the offsets.
>
> Well, we can generate such files at compile time, similar to unicode
> data, default char tables, etc. Lots of tables are already generated.
> One more probably doesn't matter. The compiler can simply include this
> table. We could also include a default copy (another .dist file) in
> the source.
Indeed we could, but I really do not think this is worth doing.