aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/dom
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2022-12-24 10:14:04 +0100
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2022-12-24 11:48:39 +0100
commit627d081090583be67093bd717cb54d1dde44b58c (patch)
tree3e9b81c057adb450b93b970ae070213af1c35fe8 /pyGHDL/dom
parent8b71d31b27837409affbd69842d03f1ae0ea6e29 (diff)
downloadghdl-627d081090583be67093bd717cb54d1dde44b58c.tar.gz
ghdl-627d081090583be67093bd717cb54d1dde44b58c.tar.bz2
ghdl-627d081090583be67093bd717cb54d1dde44b58c.zip
Added missing imports.
Diffstat (limited to 'pyGHDL/dom')
-rw-r--r--pyGHDL/dom/NonStandard.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pyGHDL/dom/NonStandard.py b/pyGHDL/dom/NonStandard.py
index 2066c190f..0a2ead728 100644
--- a/pyGHDL/dom/NonStandard.py
+++ b/pyGHDL/dom/NonStandard.py
@@ -66,8 +66,8 @@ from pyGHDL.libghdl import (
files_map_editor,
ENCODING,
)
-from pyGHDL.libghdl.flags import Flag_Gather_Comments, Flags, VhdlStandard
-from pyGHDL.libghdl.vhdl import nodes, sem_lib, parse
+from pyGHDL.libghdl.flags import Flag_Gather_Comments
+from pyGHDL.libghdl.vhdl import nodes, sem_lib
from pyGHDL.libghdl.vhdl.parse import Flag_Parse_Parenthesis
from pyGHDL.dom import DOMException, Position
from pyGHDL.dom._Utils import GetIirKindOfNode, CheckForErrors, GetNameOfNode, GetDocumentationOfNode
@@ -151,13 +151,13 @@ class Document(VHDLModel_Document):
# Parse input file
t1 = time.perf_counter()
- if vhdlVersion.IsAMS():
+ if vhdlVersion.IsAMS:
flags.AMS_Vhdl.value = True
self.__ghdlFile = sem_lib.Load_File(self.__ghdlSourceFileEntry)
CheckForErrors()
- if vhdlVersion.IsAMS():
+ if vhdlVersion.IsAMS:
flags.AMS_Vhdl.value = False
self.__ghdlProcessingTime = time.perf_counter() - t1