aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-nodes.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-04-20 07:49:03 +0200
committerTristan Gingold <tgingold@free.fr>2020-04-20 12:19:48 +0200
commitcb72a1834f160d95d026b7e466886fd95fd82146 (patch)
tree87cd0fff5a8ce03b05b8e6a0a0129b60de90fe61 /src/vhdl/vhdl-nodes.ads
parentb6d42a577f4ee5f2084a165b0cdf66cadcc878a1 (diff)
downloadghdl-cb72a1834f160d95d026b7e466886fd95fd82146.tar.gz
ghdl-cb72a1834f160d95d026b7e466886fd95fd82146.tar.bz2
ghdl-cb72a1834f160d95d026b7e466886fd95fd82146.zip
types: introduce Direction_Type, which replaces Iir_Direction.
Global renaming.
Diffstat (limited to 'src/vhdl/vhdl-nodes.ads')
-rw-r--r--src/vhdl/vhdl-nodes.ads10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/vhdl/vhdl-nodes.ads b/src/vhdl/vhdl-nodes.ads
index 5d50057e4..592a7da2a 100644
--- a/src/vhdl/vhdl-nodes.ads
+++ b/src/vhdl/vhdl-nodes.ads
@@ -5083,12 +5083,6 @@ package Vhdl.Nodes is
Iir_Transport_Delay
);
- type Iir_Direction is
- (
- Iir_To,
- Iir_Downto
- );
-
-- LRM93 2.7 (conformance rules).
-- To keep this simple, the layout is stored as a bit-string.
-- Fields are:
@@ -7860,8 +7854,8 @@ package Vhdl.Nodes is
procedure Set_Range_Constraint (Target : Iir; Constraint : Iir);
-- Field: State2 (pos)
- function Get_Direction (Decl : Iir) return Iir_Direction;
- procedure Set_Direction (Decl : Iir; Dir : Iir_Direction);
+ function Get_Direction (Decl : Iir) return Direction_Type;
+ procedure Set_Direction (Decl : Iir; Dir : Direction_Type);
-- Field: Field4 Ref
function Get_Left_Limit (Decl : Iir_Range_Expression) return Iir;