aboutsummaryrefslogtreecommitdiffstats
path: root/python/libghdl/thin/errorout.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/libghdl/thin/errorout.py')
-rw-r--r--python/libghdl/thin/errorout.py34
1 files changed, 34 insertions, 0 deletions
diff --git a/python/libghdl/thin/errorout.py b/python/libghdl/thin/errorout.py
new file mode 100644
index 000000000..809cc919e
--- /dev/null
+++ b/python/libghdl/thin/errorout.py
@@ -0,0 +1,34 @@
+from libghdl import libghdl
+
+Enable_Warning = libghdl.errorout__enable_warning
+
+
+
+class Msgid:
+ Msgid_Note = 0
+ Warnid_Library = 1
+ Warnid_Missing_Xref = 2
+ Warnid_Default_Binding = 3
+ Warnid_Binding = 4
+ Warnid_Port = 5
+ Warnid_Reserved_Word = 6
+ Warnid_Nested_Comment = 7
+ Warnid_Directive = 8
+ Warnid_Parenthesis = 9
+ Warnid_Vital_Generic = 10
+ Warnid_Delayed_Checks = 11
+ Warnid_Body = 12
+ Warnid_Specs = 13
+ Warnid_Universal = 14
+ Warnid_Port_Bounds = 15
+ Warnid_Runtime_Error = 16
+ Warnid_Delta_Cycle = 17
+ Warnid_Shared = 18
+ Warnid_Hide = 19
+ Warnid_Unused = 20
+ Warnid_Others = 21
+ Warnid_Pure = 22
+ Warnid_Static = 23
+ Msgid_Warning = 24
+ Msgid_Error = 25
+ Msgid_Fatal = 26