--- parser3/src/classes/Attic/env.C 2001/03/10 11:18:13 1.1 +++ parser3/src/classes/Attic/env.C 2001/03/11 08:16:31 1.4 @@ -1,5 +1,9 @@ /* -$Id: env.C,v 1.1 2001/03/10 11:18:13 paf Exp $ + Parser + Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) + Author: Alexander Petrosyan (http://design.ru/paf) + + $Id: env.C,v 1.4 2001/03/11 08:16:31 paf Exp $ */ #include "pa_request.h" @@ -8,7 +12,9 @@ $Id: env.C,v 1.1 2001/03/10 11:18:13 paf void initialize_env_class(Pool& pool, VClass& vclass) { String& name=*new(pool) String(pool); String& string=*new(pool) String(pool); - name.APPEND_CONST("test"); - string.APPEND_TAINTED("", 0, "environment", 0); + 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)); }