--- parser3/src/classes/memory.C 2005/11/18 09:11:20 1.7.8.2 +++ parser3/src/classes/memory.C 2017/02/07 22:00:29 1.12 @@ -1,16 +1,16 @@ /** @file Parser: @b memory parser class. - Copyright(c) 2001-2005 ArtLebedev Group(http://www.artlebedev.com) + Copyright (c) 2001-2017 Art. Lebedev Studio (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_MATH_C="$Date: 2005/11/18 09:11:20 $"; - #include "pa_common.h" #include "pa_vmemory.h" #include "pa_request.h" +volatile const char * IDENT_MEMORY_C="$Id: memory.C,v 1.12 2017/02/07 22:00:29 moko Exp $" IDENT_PA_VMEMORY_H; + class MMemory: public Methoded { public: MMemory(); @@ -21,7 +21,7 @@ public: // Methoded // global variables -DECLARE_CLASS_VAR(memory, 0 /*fictive*/, new MMemory); +DECLARE_CLASS_VAR(memory, new MMemory); #undef GC_DEBUG #ifdef GC_DEBUG @@ -43,7 +43,7 @@ static void _compact(Request& r, MethodP GC_print_backtrace(debug_print_backtrace); #endif #endif -} + } // constructor