codetools: fixed TStandardCodeTool.ReplaceWords

git-svn-id: trunk@38540 -
This commit is contained in:
mattias 2012-09-06 15:00:13 +00:00
parent da2404fdb3
commit 89b17f0d82

View File

@ -3133,6 +3133,7 @@ function TStandardCodeTool.ReplaceWords(IdentList: TStrings;
CurSource: string;
i: integer;
begin
CurSource:=ACode.Source;
MaxPos:=length(CurSource);
StartPos:=1;
// go through all source parts between compiler directives