--- parser3/src/classes/Attic/env.C 2001/03/10 11:46:55 1.2 +++ parser3/src/classes/Attic/env.C 2001/03/13 13:43:28 1.5 @@ -1,16 +1,14 @@ /* -$Id: env.C,v 1.2 2001/03/10 11:46:55 paf Exp $ + Parser + Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) + Author: Alexander Petrosyan (http://design.ru/paf) + + $Id: env.C,v 1.5 2001/03/13 13:43:28 paf Exp $ */ #include "pa_request.h" #include "_env.h" -void initialize_env_class(Pool& pool, VClass& vclass) { - String& name=*new(pool) String(pool); - String& string=*new(pool) String(pool); - char *file="environment"; - int line=3; - name.APPEND("test", 0, file, line); - string.APPEND_TAINTED("", 0, file, line); - vclass.set_field(name, new(pool) VString(string)); +void initialize_env_class(Pool& pool, VStateless_class& vclass) { + // TODO: подумать, нужен ли метод "в hash"? }