From 4a850818bc1c674d6b4e9c4bcc44ee6bbaa13ffc Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Mon, 20 May 2019 18:16:34 +0200 Subject: errorout-memory: handle message groups; adjust python --- src/vhdl/python/pnodespy.py | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/vhdl/python/pnodespy.py') diff --git a/src/vhdl/python/pnodespy.py b/src/vhdl/python/pnodespy.py index b4d81a26a..4088efa3a 100755 --- a/src/vhdl/python/pnodespy.py +++ b/src/vhdl/python/pnodespy.py @@ -231,17 +231,6 @@ def do_libghdl_tokens(): def do_libghdl_errorout(): - print("""from ctypes import c_int8, c_int32, Structure - -class Error_Record(Structure): - _fields_ = [("origin", c_int8), - ("id", c_int8), - ("file", c_int32), - ("line", c_int32), - ("offset", c_int32), - ("length", c_int32)] -""") - read_enum("../errorout.ads", "Msgid_Type", "(Msgid|Warnid)_", "Msgid", g=lambda m: m.group(1) + '_' + m.group(2)) -- cgit v1.2.3