@@ -734,7 +734,7 @@ void MetadataNode::InterfaceConstructorCallback(const v8::FunctionCallbackInfo<v
734734 SetInstanceMetadata (info.GetIsolate (), implementationObject, node);
735735
736736 // @@@ Refactor
737- auto fullName = className + " - " + extendNameAndLocation;
737+ auto fullName = className + Constants::CLASS_NAME_LOCATION_SEPARATOR + extendNameAndLocation;
738738 thiz->SetHiddenValue (ConvertToV8String (" implClassName" ), ConvertToV8String (fullName));
739739 //
740740
@@ -1073,7 +1073,7 @@ void MetadataNode::ExtendCallMethodHandler(const v8::FunctionCallbackInfo<v8::Va
10731073 DEBUG_WRITE (" ExtendsCallMethodHandler: called with %s" , ConvertToString (extendName).c_str ());
10741074
10751075 auto extendNameAndLocation = extendLocation + ConvertToString (extendName);
1076- auto fullClassName = node->m_name + ' - ' + extendNameAndLocation; // ConvertToString(extendName);
1076+ auto fullClassName = node->m_name + Constants::CLASS_NAME_LOCATION_SEPARATOR + extendNameAndLocation; // ConvertToString(extendName);
10771077 auto fullExtendedName = TNS_PREFIX + fullClassName;
10781078 DEBUG_WRITE (" ExtendsCallMethodHandler: extend full name %s" , fullClassName.c_str ());
10791079
@@ -1162,8 +1162,8 @@ bool MetadataNode::GetExtendLocation(string& extendLocation)
11621162 }
11631163
11641164 string srcFileName = ConvertToString (scriptName);
1165- std::replace (srcFileName.begin (), srcFileName.end (), ' /' , ' - ' );
1166- std::replace (srcFileName.begin (), srcFileName.end (), ' .' , ' - ' );
1165+ std::replace (srcFileName.begin (), srcFileName.end (), ' /' , ' _ ' );
1166+ std::replace (srcFileName.begin (), srcFileName.end (), ' .' , ' _ ' );
11671167 int lineNumber = frame->GetLineNumber ();
11681168 if (lineNumber < 0 )
11691169 {
@@ -1186,7 +1186,7 @@ bool MetadataNode::GetExtendLocation(string& extendLocation)
11861186 }
11871187
11881188
1189- extendLocationStream << " f" << srcFileName.c_str () << " -l " << lineNumber << " -c " << column << " -- " ;
1189+ extendLocationStream << " f" << srcFileName.c_str () << " _l " << lineNumber << " _c " << column << " __ " ;
11901190 // DEBUG_WRITE("EXTEND_LOCATION %s", extendLocationStream.str().c_str());
11911191 }
11921192 }
0 commit comments