From dfd094273e636fb275a7416a1c470d0b136e9362 Mon Sep 17 00:00:00 2001 From: Brian Padalino Date: Thu, 23 Sep 2021 01:44:59 -0400 Subject: Add parsing of case? statement and simple test. Also add the Matching flag to the Iir_Kind_Case_Statement. --- pyGHDL/libghdl/vhdl/nodes.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'pyGHDL/libghdl/vhdl/nodes.py') diff --git a/pyGHDL/libghdl/vhdl/nodes.py b/pyGHDL/libghdl/vhdl/nodes.py index bd26406d2..36cc357e8 100644 --- a/pyGHDL/libghdl/vhdl/nodes.py +++ b/pyGHDL/libghdl/vhdl/nodes.py @@ -5919,6 +5919,19 @@ def Set_Case_Statement_Alternative_Chain(obj: Iir, value: Iir) -> None: """""" +@export +@BindToLibGHDL("vhdl__nodes__get_matching_flag") +def Get_Matching_Flag(obj: Iir) -> Boolean: + """""" + return 0 + + +@export +@BindToLibGHDL("vhdl__nodes__set_matching_flag") +def Set_Matching_Flag(obj: Iir, value: Boolean) -> None: + """""" + + @export @BindToLibGHDL("vhdl__nodes__get_choice_staticness") def Get_Choice_Staticness(obj: Iir) -> Iir: -- cgit v1.2.3