Skip to content

Commit

Permalink
GH AdaCore#324: minor style
Browse files Browse the repository at this point in the history
  • Loading branch information
raph-amiard committed Sep 11, 2019
1 parent b6a5357 commit 96c3941
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ada/extensions/src/libadalang-expr_eval.adb
Original file line number Diff line number Diff line change
Expand Up @@ -206,12 +206,13 @@ package body Libadalang.Expr_Eval is
case D.Kind is
when Ada_Name =>
return Eval_Range_Attr
(D.As_Name.P_Referenced_Decl_Internal (Try_Immediate => True)
(D.As_Name
.P_Referenced_Decl_Internal (Try_Immediate => True)
.As_Ada_Node,
A);
when Ada_Type_Decl =>
return Eval_Range_Attr (D.As_Type_Decl.F_Type_Def.As_Ada_Node,
A);
return Eval_Range_Attr
(D.As_Type_Decl.F_Type_Def.As_Ada_Node, A);
when Ada_Type_Def =>
case D.Kind is
when Ada_Signed_Int_Type_Def =>
Expand Down

0 comments on commit 96c3941

Please sign in to comment.