--- parser3/src/include/pa_array.h 2003/01/24 11:33:02 1.57.2.7 +++ parser3/src/include/pa_array.h 2003/01/24 14:36:10 1.57.2.8 @@ -8,7 +8,7 @@ #ifndef PA_ARRAY_H #define PA_ARRAY_H -static const char* IDENT_ARRAY_Y="$Date: 2003/01/24 11:33:02 $"; +static const char* IDENT_ARRAY_Y="$Date: 2003/01/24 14:36:10 $"; #include "pa_pool.h" #include "pa_exception.h" @@ -160,6 +160,12 @@ public: *this += result; return result.get(); } + + char *malloc(const char *buf, size_t size) { + char *result=malloc(size); + memcpy(result, buf, size); + return result; + } }; void *operator new(size_t size, Pool& pool) {