|
|
| version 1.112, 2001/10/29 16:29:07 | version 1.115, 2001/11/05 11:46:25 |
|---|---|
| Line 2 | Line 2 |
| Parser: string class decl. | Parser: string class decl. |
| Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) | Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) |
| Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf) | Author: Alexander Petrosyan <paf@design.ru> (http://paf.design.ru) |
| $Id$ | $Id$ |
| */ | */ |
| Line 78 class Dictionary; | Line 78 class Dictionary; |
| - whether they are tainted or not, | - whether they are tainted or not, |
| and the language which should be used to detaint them | and the language which should be used to detaint them |
| */ | */ |
| #include "pa_pragma_pack_begin.h" | |
| class String : public Pooled { | class String : public Pooled { |
| public: | public: |
| Line 173 public: | Line 174 public: |
| return cmp(partial, src_ptr, 0)!=0; | return cmp(partial, src_ptr, 0)!=0; |
| } | } |
| /** | /** |
| appends other String. | appends other String. |
| Line 251 private: | Line 251 private: |
| struct { | struct { |
| const char *ptr; ///< pointer to the start | const char *ptr; ///< pointer to the start |
| size_t size; ///< length | 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 | #ifndef NO_STRING_ORIGIN |
| Origin origin; ///< origin | Origin origin; ///< origin |
| #endif | #endif |
| Line 305 private: //disabled | Line 305 private: //disabled |
| String& operator = (const String&) { return *this; } | String& operator = (const String&) { return *this; } |
| }; | }; |
| #include "pa_pragma_pack_end.h" | |
| #endif | #endif |