git-svn-id: trunk@40620 -
@@ -374,6 +374,9 @@ ToDos:
- functions
- rtti
- bug: DoIt(typeinfo(i)) where DoIt is in another unit and has TTypeInfo
+- $OPTIMIZATION ON|OFF
+- $optimization REMOVEEMPTYPROCS
+- $optimization REMOVEEMPTYPROCS,RemoveNotUsedDeclarations-
- setlength(dynarray) modeswitch to not create a copy
- 'new', 'Function' -> class var use .prototype
- static arrays
@@ -1896,7 +1896,7 @@ var
// search in Dir for pp, pas, p times given case, lower case, upper case
begin
Dir:=IncludeTrailingPathDelimiter(Dir);
- if IndexOfFile(SearchedDirs,Dir)>=0 then exit;
+ if IndexOfFile(SearchedDirs,Dir)>=0 then exit(false);
SearchedDirs.Add(Dir);
Filename:=Dir+aUnitname+'.pp';
if SearchLowUpCase(Filename) then exit(true);