Skip to content

Commit

Permalink
Fix FPC warning about nested comments
Browse files Browse the repository at this point in the history
  • Loading branch information
michaliskambi committed Oct 10, 2024
1 parent a307c4e commit fd01632
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/pasls.lpr
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ procedure Main(Rpc: TRpcPeer);
on E: ERpcError do
SendError(Rpc, Request.Id, E.Code, E.Message);

{ Catching all exceptions to prevent server from crashing,
(*Catching all exceptions to prevent server from crashing,
this seems the easiest solution to deal with various ways how
Lazarus code tools can raise exception on invalid/in-progress code.
Expand All @@ -137,7 +137,7 @@ procedure Main(Rpc: TRpcPeer);
This change captures it and reports:
Exception ECodeToolError while dispatching request textDocument/documentSymbol: expected :, but PassParams found
}
*)
on E: Exception do
begin
DebugLog('Exception %s while dispatching request %s: %s', [
Expand Down

0 comments on commit fd01632

Please sign in to comment.