--- parser3/src/include/pa_string.h 2009/04/23 07:03:12 1.174.2.1 +++ parser3/src/include/pa_string.h 2009/01/25 01:59:42 1.175 @@ -8,7 +8,7 @@ #ifndef PA_STRING_H #define PA_STRING_H -static const char * const IDENT_STRING_H="$Date: 2009/04/23 07:03:12 $"; +static const char * const IDENT_STRING_H="$Date: 2009/01/25 01:59:42 $"; // includes #include "pa_types.h" @@ -97,6 +97,7 @@ public: L_HTML='H', ///< HTML code L_REGEX='R', ///< RegEx expression L_HTTP_COOKIE='C', ///< cookies encoded as %uXXXX for compartibility with js functions encode/decode + L_FILE_POST='f', ///temporary escaping zero-char // READ WARNING ABOVE BEFORE ADDING ANYTHING L_OPTIMIZE_BIT = 0x80 ///< flag, requiring cstr whitespace optimization }; @@ -112,9 +113,9 @@ public: struct { #ifdef PA_LITTLE_ENDIAN Language lang:8; - size_t is_not_just_lang:sizeof(CORD)*8-8; + int is_not_just_lang:sizeof(CORD)*8-8; #elif defined(PA_BIG_ENDIAN) - size_t is_not_just_lang:sizeof(CORD)*8-8; + int is_not_just_lang:sizeof(CORD)*8-8; Language lang:8; #else # error word endianness not determined for some obscure reason