From 43fc338c2d76f3193989fb7d1f559875ae4478e7 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Tue, 29 Dec 2020 11:58:55 +0100 Subject: Changed error reporting in DOM to in-memory. --- pyGHDL/dom/Misc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pyGHDL/dom') diff --git a/pyGHDL/dom/Misc.py b/pyGHDL/dom/Misc.py index 35149b3a2..df1ab4cce 100644 --- a/pyGHDL/dom/Misc.py +++ b/pyGHDL/dom/Misc.py @@ -8,7 +8,7 @@ from pyVHDLModel.VHDLModel import Library as VHDLModel_Library from pyVHDLModel.VHDLModel import Document as VHDLModel_Document import pyGHDL.libghdl as libghdl -from pyGHDL.libghdl import name_table, files_map, errorout_console +from pyGHDL.libghdl import name_table, files_map, errorout_memory from pyGHDL.libghdl.vhdl import nodes, sem_lib from pyGHDL.dom.Common import LibGHDLException, GHDLException @@ -28,8 +28,8 @@ class Design(VHDLModel_Design): def __ghdl_init(self): """Initialization: set options and then load libraries""" - # Print error messages on the console - errorout_console.Install_Handler() + # Collect error messages in memory + errorout_memory.Install_Handler() libghdl.set_option(b"--std=08") -- cgit v1.2.3