aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/libghdl/thin/vhdl/nodes.py3
-rwxr-xr-xpython/xtools/pnodespy.py3
2 files changed, 2 insertions, 4 deletions
diff --git a/python/libghdl/thin/vhdl/nodes.py b/python/libghdl/thin/vhdl/nodes.py
index a675e0ce3..4509627ca 100644
--- a/python/libghdl/thin/vhdl/nodes.py
+++ b/python/libghdl/thin/vhdl/nodes.py
@@ -10,7 +10,6 @@ Iir_Flist_Others = 1
Iir_Flist_All = 2
-
class Iir_Kind:
Unused = 0
Error = 1
@@ -1028,7 +1027,6 @@ class Iir_Kinds:
]
-
class Iir_Mode:
Unknown_Mode = 0
Linkage_Mode = 1
@@ -1702,6 +1700,7 @@ class Iir_Predefined:
Ieee_Std_Logic_Misc_Xnor_Reduce_Slv = 635
Ieee_Std_Logic_Misc_Xnor_Reduce_Suv = 636
+
Get_Kind = libghdl.vhdl__nodes__get_kind
Get_Location = libghdl.vhdl__nodes__get_location
diff --git a/python/xtools/pnodespy.py b/python/xtools/pnodespy.py
index 65a956ca0..0e0f5ba9e 100755
--- a/python/xtools/pnodespy.py
+++ b/python/xtools/pnodespy.py
@@ -237,8 +237,7 @@ def do_libghdl_tokens():
def do_libghdl_errorout():
print("from libghdl import libghdl")
- print("\n"
- "Enable_Warning = libghdl.errorout__enable_warning")
+ print("\n" "Enable_Warning = libghdl.errorout__enable_warning")
read_enum(
"../errorout.ads",
"Msgid_Type",