Re: [pcre-dev] pcre_compile.c: error_texts

トップ ページ
このメッセージを削除
著者: Philip Hazel
日付:  
To: Zoltán Herczeg
CC: pcre-dev
題目: 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.

Philip

--
Philip Hazel