Skip to content

Commit

Permalink
vhdl-utils: fix a crash after an error
Browse files Browse the repository at this point in the history
  • Loading branch information
tgingold committed Feb 6, 2024
1 parent f9086ac commit 80832c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/vhdl/vhdl-utils.adb
Original file line number Diff line number Diff line change
Expand Up @@ -1191,9 +1191,11 @@ package body Vhdl.Utils is
case Get_Kind (Base) is
when Iir_Kind_Variable_Declaration
| Iir_Kind_Signal_Declaration
| Iir_Kind_Constant_Declaration
| Iir_Kind_Interface_Variable_Declaration
| Iir_Kind_Interface_Signal_Declaration
| Iir_Kind_Object_Alias_Declaration =>
| Iir_Kind_Object_Alias_Declaration
| Iir_Kind_Interface_Constant_Declaration =>
declare
Ind : constant Iir := Get_Subtype_Indication (Base);
begin
Expand Down

0 comments on commit 80832c4

Please sign in to comment.