aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/lsp/document.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyGHDL/lsp/document.py')
-rw-r--r--pyGHDL/lsp/document.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyGHDL/lsp/document.py b/pyGHDL/lsp/document.py
index 7935e980e..a6f9ae217 100644
--- a/pyGHDL/lsp/document.py
+++ b/pyGHDL/lsp/document.py
@@ -167,7 +167,7 @@ class Document(object):
unit = nodes.Get_First_Design_Unit(self._tree)
while unit != nodes.Null_Iir:
sem.Semantic(unit)
- nodes.Set_Date_State(unit, nodes.Date_State.Analyze)
+ nodes.Set_Date_State(unit, nodes.DateStateType.Analyze)
unit = nodes.Get_Chain(unit)
def flatten_symbols(self, syms, parent):