aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/dom/Misc.py
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-06-19 03:20:59 +0200
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-06-19 15:25:07 +0200
commitef0dbc726749df434036b23480b89f01cbe67d44 (patch)
treeb7573b77a0662773ffe30b100d7537de3d56f21a /pyGHDL/dom/Misc.py
parent89f835733c4019c5cb087885a874f34cf4ff183d (diff)
downloadghdl-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.py4
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'.")