We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32bc3f4 commit 598d36fCopy full SHA for 598d36f
source/ada/lsp-ada_contexts.adb
@@ -37,6 +37,8 @@ with Langkit_Support.Slocs;
37
38
with Utils.Command_Lines.Common;
39
40
+with Pp.Actions;
41
+
42
package body LSP.Ada_Contexts is
43
44
Indexing_Trace : constant Trace_Handle := Create ("ALS.INDEXING", Off);
@@ -890,8 +892,11 @@ package body LSP.Ada_Contexts is
890
892
Self.Source_Dirs.Clear;
891
893
Self.Tree := null;
894
- -- Destroy GnatPP command line
895
+ -- Destroy gnatpp's command line
896
Utils.Command_Lines.Clear (Self.PP_Options);
897
898
+ -- Cleanup gnatpp's template tables
899
+ Pp.Actions.Clear_Template_Tables;
900
end Free;
901
902
-----------------
0 commit comments