Re: [pcre-dev] pcre2unicode.3 lists wrong 16 and 32 bit UTF …

Pàgina inicial
Delete this message
Autor: Ralf Junker
Data:  
A: pcre-dev
Assumpte: Re: [pcre-dev] pcre2unicode.3 lists wrong 16 and 32 bit UTF error constants
I am sorry, but you did not get the fix right in SVN 542. You added "2"
but not "_ERROR".

Old:      PCRE_UTF16_ERR1
Your fix: PCRE2_UTF16_ERR1
pcre2.in: PCRE2_ERROR_UTF16_ERR1


This section from pcre2.in lists all constants which need correction:

> /* Error codes for UTF-16 validity checks */
>
> #define PCRE2_ERROR_UTF16_ERR1      (-24)
> #define PCRE2_ERROR_UTF16_ERR2      (-25)
> #define PCRE2_ERROR_UTF16_ERR3      (-26)

>
> /* Error codes for UTF-32 validity checks */
>
> #define PCRE2_ERROR_UTF32_ERR1      (-27)
> #define PCRE2_ERROR_UTF32_ERR2      (-28)


Ralf

On 02.07.2016 18:35, ph10@??? wrote:

> I have fixed those typos