File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -239,12 +239,12 @@ package body Ada2WSDL.Parser is
239
239
is
240
240
E : constant Bin_Op := Get_Range_Expr (Node, Top_Decl);
241
241
T_Name : constant String :=
242
- (if Node.Kind = Ada_Type_Decl
242
+ (if Node.Kind in Ada_Type_Decl
243
243
then Img (Node.As_Base_Type_Decl.F_Name,
244
244
Lower_Case => True)
245
245
else " " );
246
246
Is_Std_LL : constant Boolean :=
247
- Node.Kind = Ada_Type_Decl
247
+ Node.Kind in Ada_Type_Decl
248
248
and then
249
249
((Is_Standard (Node)
250
250
and then T_Name = " long_long_integer" )
@@ -685,7 +685,7 @@ package body Ada2WSDL.Parser is
685
685
-- into the record and is defined into a separate package we
686
686
-- need to analyse it to get the corresponding WSDL definition.
687
687
688
- if F_Decl.Kind = Ada_Type_Decl
688
+ if F_Decl.Kind in Ada_Type_Decl
689
689
and then F_Decl.As_Type_Decl.F_Type_Def.Kind = Ada_Array_Type_Def
690
690
then
691
691
-- An array
You can’t perform that action at this time.
0 commit comments