914 |
|
|
915 |
#elif defined COMPILE_PCRE32 |
#elif defined COMPILE_PCRE32 |
916 |
|
|
917 |
/* These are unnecessary for the 32-bit library */ |
/* These are trivial for the 32-bit library, since all UTF-32 characters fit |
918 |
#undef MAX_VALUE_FOR_SINGLE_CHAR |
into one pcre_uchar unit. */ |
919 |
#undef HAS_EXTRALEN |
#define MAX_VALUE_FOR_SINGLE_CHAR (0x10ffffu) |
920 |
#undef GET_EXTRALEN |
#define HAS_EXTRALEN(c) (0) |
921 |
#undef NOT_FIRSTCHAR |
#define GET_EXTRALEN(c) (0) |
922 |
|
#define NOT_FIRSTCHAR(c) (0) |
923 |
|
|
924 |
#define UTF32_MASK (0x1ffffful) |
#define UTF32_MASK (0x1fffffu) |
925 |
|
|
926 |
/* Get the next UTF-32 character, not advancing the pointer. This is called when |
/* Get the next UTF-32 character, not advancing the pointer. This is called when |
927 |
we know we are in UTF-32 mode. */ |
we know we are in UTF-32 mode. */ |
990 |
/* If the pointer is not at the start of a character, move it back until |
/* If the pointer is not at the start of a character, move it back until |
991 |
it is. This is called only in UTF-32 mode - we don't put a test within the |
it is. This is called only in UTF-32 mode - we don't put a test within the |
992 |
macro because almost all calls are already within a block of UTF-32 only |
macro because almost all calls are already within a block of UTF-32 only |
993 |
code. */ |
code. |
994 |
|
These are all no-ops since all UTF-32 characters fit into one pcre_uchar. */ |
995 |
|
|
996 |
#define BACKCHAR(eptr) do { } while (0) |
#define BACKCHAR(eptr) do { } while (0) |
997 |
|
|