aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2021-09-16 07:47:31 +0200
committerTristan Gingold <tgingold@free.fr>2021-09-16 18:11:57 +0200
commit013948eaec75eedf45874ef1c421ada6f6fcab0b (patch)
tree75fd51f754cbbaf80683cee0dd456d5f97acf8f7
parenteee0116fafe397462c9aff8970fb4ef968742337 (diff)
downloadghdl-013948eaec75eedf45874ef1c421ada6f6fcab0b.tar.gz
ghdl-013948eaec75eedf45874ef1c421ada6f6fcab0b.tar.bz2
ghdl-013948eaec75eedf45874ef1c421ada6f6fcab0b.zip
vhdl-utils: minor renaming for homogeneity
-rw-r--r--src/vhdl/vhdl-utils.adb2
-rw-r--r--src/vhdl/vhdl-utils.ads2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vhdl/vhdl-utils.adb b/src/vhdl/vhdl-utils.adb
index e834c827b..95261405d 100644
--- a/src/vhdl/vhdl-utils.adb
+++ b/src/vhdl/vhdl-utils.adb
@@ -1990,7 +1990,7 @@ package body Vhdl.Utils is
end case;
end Get_File_Signature;
- function Get_Source_Identifier (Decl : Node) return Name_Id
+ function Get_Source_Identifier (Decl : Iir) return Name_Id
is
use Files_Map;
use Name_Table;
diff --git a/src/vhdl/vhdl-utils.ads b/src/vhdl/vhdl-utils.ads
index 455a0304b..f51599cdf 100644
--- a/src/vhdl/vhdl-utils.ads
+++ b/src/vhdl/vhdl-utils.ads
@@ -425,7 +425,7 @@ package Vhdl.Utils is
-- appears in the source file.
-- Not useful for analysis as VHDL is case insensitive, but could be
-- useful for error messages or tooling.
- function Get_Source_Identifier (Decl : Node) return Name_Id;
+ function Get_Source_Identifier (Decl : Iir) return Name_Id;
-- IIR wrapper around Get_HDL_Node/Set_HDL_Node.
function Get_HDL_Node (N : PSL_Node) return Iir;