diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-07-22 06:57:46 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-07-22 22:23:00 +0200 |
commit | d8a81db96f512c0d58b554df294f4acb0915d6a9 (patch) | |
tree | 2d1bdd2f3ee9e225adda728e8a3c6eff54ffb78c /python | |
parent | 4b862ddc4d81ff8b60bbc78eeb26d4221bfd52d8 (diff) | |
download | ghdl-d8a81db96f512c0d58b554df294f4acb0915d6a9.tar.gz ghdl-d8a81db96f512c0d58b554df294f4acb0915d6a9.tar.bz2 ghdl-d8a81db96f512c0d58b554df294f4acb0915d6a9.zip |
vhdl: replace base_type with parent_type in nodes
Only for subtype definition and remove base_type in type definitions.
Allows to better track the addition of contraints.
Diffstat (limited to 'python')
-rw-r--r-- | python/libghdl/thin/vhdl/nodes.py | 4 | ||||
-rw-r--r-- | python/libghdl/thin/vhdl/nodes_meta.py | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/python/libghdl/thin/vhdl/nodes.py b/python/libghdl/thin/vhdl/nodes.py index 9b6d03977..f1eb1b721 100644 --- a/python/libghdl/thin/vhdl/nodes.py +++ b/python/libghdl/thin/vhdl/nodes.py @@ -2177,9 +2177,9 @@ Get_Right_Limit_Expr = libghdl.vhdl__nodes__get_right_limit_expr Set_Right_Limit_Expr = libghdl.vhdl__nodes__set_right_limit_expr -Get_Base_Type = libghdl.vhdl__nodes__get_base_type +Get_Parent_Type = libghdl.vhdl__nodes__get_parent_type -Set_Base_Type = libghdl.vhdl__nodes__set_base_type +Set_Parent_Type = libghdl.vhdl__nodes__set_parent_type Get_Simple_Nature = libghdl.vhdl__nodes__get_simple_nature diff --git a/python/libghdl/thin/vhdl/nodes_meta.py b/python/libghdl/thin/vhdl/nodes_meta.py index 239cd942a..352f30ca7 100644 --- a/python/libghdl/thin/vhdl/nodes_meta.py +++ b/python/libghdl/thin/vhdl/nodes_meta.py @@ -211,7 +211,7 @@ class fields: Right_Limit = 146 Left_Limit_Expr = 147 Right_Limit_Expr = 148 - Base_Type = 149 + Parent_Type = 149 Simple_Nature = 150 Base_Nature = 151 Resolution_Indication = 152 @@ -940,8 +940,8 @@ Has_Left_Limit_Expr =\ Has_Right_Limit_Expr =\ libghdl.vhdl__nodes_meta__has_right_limit_expr -Has_Base_Type =\ - libghdl.vhdl__nodes_meta__has_base_type +Has_Parent_Type =\ + libghdl.vhdl__nodes_meta__has_parent_type Has_Simple_Nature =\ libghdl.vhdl__nodes_meta__has_simple_nature |