Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/serverprotocol/PasLS.Diagnostics.pas
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ interface

uses
{ RTL }
Classes, Types,
Classes, Types, fgl, StrUtils,
{ Code Tools }
CodeToolManager, CodeCache,
{ Protocol }
Expand Down Expand Up @@ -120,6 +120,8 @@ procedure PublishCodeToolsError(aTransport: TMessageTransport;
aCol:=CodeToolBoss.ErrorColumn;
if CodeToolBoss.ErrorCode<> nil then
begin
if StartsStr('In front of code.', aErrorMessage) then
Exit;
aFileName:=CodeToolBoss.ErrorCode.FileName;
MessageString:=aFileName+': ';
end
Expand Down
Loading