fixed switching fpc src dir after failure

git-svn-id: trunk@4677 -
This commit is contained in:
mattias 2003-09-26 06:23:36 +00:00
parent 572c78be7f
commit 6dcd8dde03
2 changed files with 10 additions and 3 deletions

View File

@ -27,15 +27,18 @@ const
'/usr/fpcsrc',
'/usr/share/fpc/src',
'/usr/fpc/src',
'/usr/src/fpc',
'/usr/local/fpc/src',
'/usr/local/share/fpc/src',
'/usr/local/src/fpc',
'/usr/lib/fpc/src',
'/usr/local/lib/fpc/src',
'/vol/fpc/src',
'/vol/src/fpc',
'/vol/lib/fpc/src'
'/vol/lib/fpc/src',
// here some extra paths. These paths are also created by the fpc rpm
// creation script and do not contain all sources. So, they are searched
// last.
'/usr/src/fpc',
'/vol/src/fpc'
);
var

View File

@ -8045,6 +8045,7 @@ begin
CodeToolBoss.DefineTree.RemoveRootDefineTemplateByName(
FPCSrcTemplate.Name);
FPCSrcTemplate.InsertBehind(CompilerTemplate);
CodeToolBoss.DefineTree.ClearCache;
// save unitlinks
InputHistories.SetLastFPCUnitLinks(EnvironmentOptions.CompilerFilename,
CurOptions,CompilerUnitSearchPath,
@ -9792,6 +9793,9 @@ end.
{ =============================================================================
$Log$
Revision 1.650 2003/09/26 06:23:36 mattias
fixed switching fpc src dir after failure
Revision 1.649 2003/09/18 09:21:02 mattias
renamed LCLLinux to LCLIntf