--- parser3/src/classes/memory.C 2003/11/20 16:34:23 1.5 +++ parser3/src/classes/memory.C 2016/03/31 21:46:20 1.11 @@ -1,16 +1,16 @@ /** @file Parser: @b memory parser class. - Copyright(c) 2001-2003 ArtLebedev Group(http://www.artlebedev.com) + Copyright (c) 2001-2015 Art. Lebedev Studio (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_MATH_C="$Date: 2003/11/20 16:34:23 $"; - #include "pa_common.h" #include "pa_vmemory.h" #include "pa_request.h" +volatile const char * IDENT_MEMORY_C="$Id: memory.C,v 1.11 2016/03/31 21:46:20 moko Exp $" IDENT_PA_VMEMORY_H; + class MMemory: public Methoded { public: MMemory(); @@ -21,8 +21,9 @@ public: // Methoded // global variables -DECLARE_CLASS_VAR(memory, 0 /*fictive*/, new MMemory); +DECLARE_CLASS_VAR(memory, new MMemory); +#undef GC_DEBUG #ifdef GC_DEBUG extern "C" GC_API void GC_print_backtrace(void *); void *debug_print_backtrace=0;