diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2021-06-19 03:20:59 +0200 |
---|---|---|
committer | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2021-06-19 15:25:07 +0200 |
commit | ef0dbc726749df434036b23480b89f01cbe67d44 (patch) | |
tree | b7573b77a0662773ffe30b100d7537de3d56f21a /pyGHDL/dom/Misc.py | |
parent | 89f835733c4019c5cb087885a874f34cf4ff183d (diff) | |
download | ghdl-ef0dbc726749df434036b23480b89f01cbe67d44.tar.gz ghdl-ef0dbc726749df434036b23480b89f01cbe67d44.tar.bz2 ghdl-ef0dbc726749df434036b23480b89f01cbe67d44.zip |
Added handling of Parenthesis.
Diffstat (limited to 'pyGHDL/dom/Misc.py')
-rw-r--r-- | pyGHDL/dom/Misc.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pyGHDL/dom/Misc.py b/pyGHDL/dom/Misc.py index 6ef66fcf0..7bee2ec7b 100644 --- a/pyGHDL/dom/Misc.py +++ b/pyGHDL/dom/Misc.py @@ -52,7 +52,7 @@ from pyGHDL.libghdl import ( LibGHDLException, utils, ) -from pyGHDL.libghdl.vhdl import nodes, sem_lib +from pyGHDL.libghdl.vhdl import nodes, sem_lib, parse from pyGHDL.dom._Utils import GetIirKindOfNode from pyGHDL.dom.Common import DOMException, GHDLMixin @@ -86,6 +86,8 @@ class Design(VHDLModel_Design): libghdl.set_option("--std=08") + parse.Flag_Parse_Parenthesis.value = True + # Finish initialization. This will load the standard package. if libghdl.analyze_init_status() != 0: raise LibGHDLException("Error initializing 'libghdl'.") |