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
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
You can’t perform that action at this time.
0 commit comments