IDE: Support dotted unit names in TBuildManager.CheckUnitPathForAmbiguousPascalFiles.

git-svn-id: trunk@55751 -
This commit is contained in:
juha 2017-08-28 09:28:34 +00:00
parent b56debdb32
commit be69e6c632

View File

@ -48,7 +48,7 @@ uses
IDEOptionsIntf, ProjectIntf, MacroIntf, IDEDialogs, IDEExternToolIntf,
CompOptsIntf, LazIDEIntf, MacroDefIntf, IDEMsgIntf,
// IDE
IDECmdLine, LazarusIDEStrConsts, DialogProcs, IDEProcs,
IDECmdLine, LazarusIDEStrConsts, DialogProcs, IDEProcs, IDEUtils,
InputHistory, EditDefineTree, ProjectResources, MiscOptions, LazConf,
EnvironmentOpts, TransferMacros, CompilerOptions,
ExtTools, etMakeMsgParser, etFPCMsgParser,
@ -1595,7 +1595,7 @@ begin
else
continue;
CurUnitName:=ExtractFilenameOnly(FileInfo.Name);
if not IsValidIdent(CurUnitName) then
if not LazIsValidIdent(CurUnitName) then
continue;
CurFilename:=CurDir+FileInfo.Name;
//DebugLn(['TBuildManager.CheckUnitPathForAmbiguousPascalFiles ',CurUnitName,' ',CurFilename]);