--- parser3/src/main/pa_string.C 2001/03/18 17:18:36 1.42 +++ parser3/src/main/pa_string.C 2001/03/19 15:29:40 1.44 @@ -3,7 +3,7 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_string.C,v 1.42 2001/03/18 17:18:36 paf Exp $ + $Id: pa_string.C,v 1.44 2001/03/19 15:29:40 paf Exp $ */ #include @@ -45,7 +45,7 @@ void String::expand() { String::String(const String& src) : Pooled(src.pool()) { head.count=CR_PREALLOCATED_COUNT; - int src_used_rows=src.used_rows(); + int src_used_rows=src.fused_rows; if(src_used_rows<=head.count) { // all new rows fit into preallocated area int curr_chunk_rows=head.count; @@ -100,7 +100,7 @@ String::String(const String& src) : Pool } String& String::append(const String& src, Untaint_lang lang, bool forced) { - int src_used_rows=src.used_rows(); + int src_used_rows=src.fused_rows; int dst_free_rows=link_row-append_here; if(src_used_rows<=dst_free_rows) { @@ -152,7 +152,7 @@ String& String::append(const String& src return *this; } void String::set_lang(Chunk::Row *row, Untaint_lang lang, bool forced, size_t size) { - if(lang==PASS_APPEND) + if(lang==PASS_APPENDED) return; while(size--) {