Skip to content

Commit

Permalink
adjust previous commit (no identifier in Psl_Default_Clock)
Browse files Browse the repository at this point in the history
  • Loading branch information
tgingold committed Jul 1, 2021
1 parent 523ef89 commit 69e6630
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion pyGHDL/libghdl/vhdl/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,6 @@ class Iir_Kinds:
Iir_Kind.Case_Generate_Statement,
Iir_Kind.For_Generate_Statement,
Iir_Kind.Component_Instantiation_Statement,
Iir_Kind.Psl_Default_Clock,
]

Simple_Concurrent_Statement = [
Expand Down
3 changes: 1 addition & 2 deletions src/vhdl/vhdl-nodes.ads
Original file line number Diff line number Diff line change
Expand Up @@ -6875,8 +6875,7 @@ package Vhdl.Nodes is
--Iir_Kind_If_Generate_Statement
--Iir_Kind_Case_Generate_Statement
--Iir_Kind_For_Generate_Statement
--Iir_Kind_Component_Instantiation_Statement
Iir_Kind_Psl_Default_Clock;
Iir_Kind_Component_Instantiation_Statement;

subtype Iir_Kinds_Simple_Concurrent_Statement is Iir_Kind range
Iir_Kind_Sensitized_Process_Statement ..
Expand Down
2 changes: 1 addition & 1 deletion src/vhdl/vhdl-nodes_walk.adb
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ package body Vhdl.Nodes_Walk is
begin
El := Chain;
while Is_Valid (El) loop
case Iir_Kinds_Concurrent_Statement (Get_Kind (El)) is
case Get_Kind (El) is
when Iir_Kinds_Simple_Concurrent_Statement
| Iir_Kind_Component_Instantiation_Statement
| Iir_Kind_Psl_Default_Clock =>
Expand Down
2 changes: 2 additions & 0 deletions src/vhdl/vhdl-sem_specs.adb
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,8 @@ package body Vhdl.Sem_Specs is
null;
when Iir_Kind_Anonymous_Type_Declaration =>
null;
when Iir_Kind_Psl_Default_Clock =>
null;
when others =>
Error_Kind ("sem_named_entity", Ent);
end case;
Expand Down
1 change: 1 addition & 0 deletions src/vhdl/vhdl-utils.adb
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ package body Vhdl.Utils is
| Iir_Kind_Nature_Element_Declaration
| Iir_Kind_Psl_Endpoint_Declaration
| Iir_Kind_Psl_Declaration
| Iir_Kind_Psl_Default_Clock
| Iir_Kind_Package_Pathname
| Iir_Kind_Absolute_Pathname
| Iir_Kind_Relative_Pathname
Expand Down

0 comments on commit 69e6630

Please sign in to comment.