--- parser3/src/include/pa_string.h 2001/10/29 16:29:07 1.112 +++ parser3/src/include/pa_string.h 2001/10/30 07:41:29 1.114 @@ -4,7 +4,7 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_string.h,v 1.112 2001/10/29 16:29:07 paf Exp $ + $Id: pa_string.h,v 1.114 2001/10/30 07:41:29 paf Exp $ */ #ifndef PA_STRING_H @@ -78,6 +78,7 @@ class Dictionary; - whether they are tainted or not, and the language which should be used to detaint them */ +#include "pa_pragma_pack_begin.h" class String : public Pooled { public: @@ -173,7 +174,6 @@ public: return cmp(partial, src_ptr, 0)!=0; } - /** appends other String. @@ -251,7 +251,7 @@ private: struct { const char *ptr; ///< pointer to the start size_t size; ///< length - Untaint_lang lang; ///< untaint flag, later untaint language + unsigned char/*Untaint_lang*/ lang; ///< untaint flag, later untaint language #ifndef NO_STRING_ORIGIN Origin origin; ///< origin #endif @@ -305,5 +305,6 @@ private: //disabled String& operator = (const String&) { return *this; } }; +#include "pa_pragma_pack_end.h" #endif