diff --git a/components/codetools/finddeclarationtool.pas b/components/codetools/finddeclarationtool.pas index fc1bf6dcc4..b4c24d986c 100644 --- a/components/codetools/finddeclarationtool.pas +++ b/components/codetools/finddeclarationtool.pas @@ -4411,6 +4411,8 @@ var end; '''': InStrConst:=not InStrConst; + #10,#13: + InStrConst:=false; end; inc(StartPos); end; @@ -4461,6 +4463,8 @@ var end; '''': InStrConst:=not InStrConst; + #10,#13: + InStrConst:=false; end; inc(StartPos); end;