--- parser3/src/classes/reflection.C 2010/05/20 04:37:50 1.15 +++ parser3/src/classes/reflection.C 2010/05/22 07:37:05 1.16 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_REFLECTION_C="$Date: 2010/05/20 04:37:50 $"; +static const char * const IDENT_REFLECTION_C="$Date: 2010/05/22 07:37:05 $"; #include "pa_vmethod_frame.h" #include "pa_request.h" @@ -258,7 +258,9 @@ static void _method_info(Request& r, Met hash->put(method_call_type, call_type); } else { // parser code - hash->put("file", new VString(*r.get_method_filename(method))); + const String* filespec = r.get_method_filename(method); + if( filespec ) + hash->put("file", new VString(*filespec)); if(method->params_names) for(size_t i=0; iparams_names->count(); i++) hash->put(String::Body::Format(i), new VString(*method->params_names->get(i)));