R905-031 Fix get_analysis_unit function

Change-Id: I1e958968d1867184fab5b12b1e59b0e8ce6ec7b8
This commit is contained in:
Maxim Reznik
2018-09-06 21:27:58 +03:00
parent 13824e9196
commit 3560f03230
6 changed files with 31 additions and 3 deletions

View File

@@ -387,9 +387,9 @@ package body Python_Module is
Script : constant Scripting_Language :=
Kernel.Scripts.Lookup_Scripting_Language (Python_Name);
begin
-- Now we are ready to import libadalang
-- Now we are ready to import lal_utils (and libadalang)
Script.Execute_Command
(CL => Create ("import libadalang"),
(CL => Create ("import lal_utils"),
Hide_Output => True,
Errors => Errors);