aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/elocations.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-10-23 18:22:02 +0200
committerTristan Gingold <tgingold@free.fr>2017-10-23 18:22:02 +0200
commitf16c8e7239d43f466a5f79bdff59824d2b037310 (patch)
treea1c0138d4fcb7cd47b44b89711419dd3413e8c5e /src/vhdl/elocations.ads
parent6b5e9d9b1b77c982607f5c71f54cfc1c35e8e262 (diff)
downloadghdl-f16c8e7239d43f466a5f79bdff59824d2b037310.tar.gz
ghdl-f16c8e7239d43f466a5f79bdff59824d2b037310.tar.bz2
ghdl-f16c8e7239d43f466a5f79bdff59824d2b037310.zip
Add more elocations.
Diffstat (limited to 'src/vhdl/elocations.ads')
-rw-r--r--src/vhdl/elocations.ads30
1 files changed, 23 insertions, 7 deletions
diff --git a/src/vhdl/elocations.ads b/src/vhdl/elocations.ads
index 6c671794f..a6b728fa4 100644
--- a/src/vhdl/elocations.ads
+++ b/src/vhdl/elocations.ads
@@ -189,7 +189,9 @@ package Elocations is
--
-- Get/Set_Start_Location (Field1)
- -- Iir_Kind_Anonymous_Type_Declaration (None)
+ -- Iir_Kind_Anonymous_Type_Declaration (L1)
+ --
+ -- Get/Set_Start_Location (Field1)
-- Iir_Kind_Type_Declaration (L2)
--
@@ -411,11 +413,22 @@ package Elocations is
--
-- Get/Set_Begin_Location (Field3)
- -- Iir_Kind_For_Generate_Statement (None)
-
- -- Iir_Kind_If_Generate_Else_Clause (None)
+ -- Iir_Kind_For_Generate_Statement (L3)
+ --
+ -- Get/Set_Start_Location (Field1)
+ --
+ -- Get/Set_End_Location (Field2)
+ --
+ -- Get/Set_Generate_Location (Field3)
- -- Iir_Kind_If_Generate_Statement (None)
+ -- Iir_Kind_If_Generate_Else_Clause (L3)
+ -- Iir_Kind_If_Generate_Statement (L3)
+ --
+ -- Get/Set_Start_Location (Field1)
+ --
+ -- Get/Set_End_Location (Field2)
+ --
+ -- Get/Set_Generate_Location (Field3)
-- Iir_Kind_Case_Generate_Statement (None)
@@ -437,6 +450,7 @@ package Elocations is
-- Get/Set_Then_Location (Field3)
-- Iir_Kind_For_Loop_Statement (L3)
+ -- Iir_Kind_While_Loop_Statement (L3)
--
-- Get/Set_Start_Location (Field1)
--
@@ -444,8 +458,6 @@ package Elocations is
--
-- Get/Set_Loop_Location (Field3)
- -- Iir_Kind_While_Loop_Statement (None)
-
-- Iir_Kind_Exit_Statement (None)
-- Iir_Kind_Next_Statement (None)
@@ -629,6 +641,10 @@ package Elocations is
function Get_Loop_Location (N : Iir) return Location_Type;
procedure Set_Loop_Location (N : Iir; Loc : Location_Type);
+ -- Field: Field3
+ function Get_Generate_Location (N : Iir) return Location_Type;
+ procedure Set_Generate_Location (N : Iir; Loc : Location_Type);
+
-- Field: Field4
function Get_Generic_Location (N : Iir) return Location_Type;
procedure Set_Generic_Location (N : Iir; Loc : Location_Type);