diff options
Diffstat (limited to 'src/vhdl/vhdl-sem.adb')
-rw-r--r-- | src/vhdl/vhdl-sem.adb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vhdl/vhdl-sem.adb b/src/vhdl/vhdl-sem.adb index 077d9c5f6..62ab6b653 100644 --- a/src/vhdl/vhdl-sem.adb +++ b/src/vhdl/vhdl-sem.adb @@ -33,7 +33,7 @@ with Flags; use Flags; with Str_Table; with Vhdl.Sem_Utils; with Vhdl.Sem_Stmts; use Vhdl.Sem_Stmts; -with Iir_Chains; +with Vhdl.Nodes_Utils; with Vhdl.Xrefs; use Vhdl.Xrefs; package body Vhdl.Sem is @@ -1710,7 +1710,7 @@ package body Vhdl.Sem is Nbr_Interfaces : Natural; Is_Method : Boolean; begin - Nbr_Interfaces := Iir_Chains.Get_Chain_Length + Nbr_Interfaces := Vhdl.Nodes_Utils.Get_Chain_Length (Get_Interface_Declaration_Chain (Subprg)); -- For vhdl-02, the protected variable is an implicit parameter. |