Fix opening functions in Xcode 5.1.1 on OS X.

For atos specify the architecture and properly escape the path. When parsing the results read all the digits from the line number, not just the first. Don't abandon opening the file when only a filename is specified as atos only returns filenames, not filepaths.
#codereview michael.trepka

[CL 2093090 by Mark Satterthwaite in Main branch]
This commit is contained in:
Mark Satterthwaite
2014-06-03 09:36:45 -04:00
committed by UnrealBot
parent 311d88c4b2
commit 3e31a54bed
3 changed files with 3 additions and 9 deletions

View File

@@ -81,12 +81,6 @@ bool FXCodeSourceCodeAccessor::OpenFileAtLine(const FString& FullPath, int32 Lin
{
ColumnNumber++;
}
if (!FPaths::FileExists(FullPath))
{
SourceCodeAccessModule.OnOpenFileFailed().Broadcast(FullPath);
return false;
}
if ( FModuleManager::Get().IsSolutionFilePresent() )
{