Skip to content

Commit 6a95f85

Browse files
thvnxyakobowski
authored andcommitted
Adjust to LAL API change
TN: V104-012 TN: V906-023 (cherry picked from commit af6ec8a)
1 parent fbf67d6 commit 6a95f85

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/ada2wsdl-parser.adb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,12 +239,12 @@ package body Ada2WSDL.Parser is
239239
is
240240
E : constant Bin_Op := Get_Range_Expr (Node, Top_Decl);
241241
T_Name : constant String :=
242-
(if Node.Kind = Ada_Type_Decl
242+
(if Node.Kind in Ada_Type_Decl
243243
then Img (Node.As_Base_Type_Decl.F_Name,
244244
Lower_Case => True)
245245
else "");
246246
Is_Std_LL : constant Boolean :=
247-
Node.Kind = Ada_Type_Decl
247+
Node.Kind in Ada_Type_Decl
248248
and then
249249
((Is_Standard (Node)
250250
and then T_Name = "long_long_integer")
@@ -685,7 +685,7 @@ package body Ada2WSDL.Parser is
685685
-- into the record and is defined into a separate package we
686686
-- need to analyse it to get the corresponding WSDL definition.
687687

688-
if F_Decl.Kind = Ada_Type_Decl
688+
if F_Decl.Kind in Ada_Type_Decl
689689
and then F_Decl.As_Type_Decl.F_Type_Def.Kind = Ada_Array_Type_Def
690690
then
691691
-- An array

0 commit comments

Comments
 (0)