aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/lsp
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-01-06 13:45:24 +0100
committertgingold <tgingold@users.noreply.github.com>2021-01-07 18:44:50 +0100
commit34b590e3adc6c0a16d6f22242eeeb228017c1e8a (patch)
treee205fb7be45a7b70491a24e67dd5e89db2f07de0 /pyGHDL/lsp
parent2134f8bae8eff97e30254a43d968aa97307df551 (diff)
downloadghdl-34b590e3adc6c0a16d6f22242eeeb228017c1e8a.tar.gz
ghdl-34b590e3adc6c0a16d6f22242eeeb228017c1e8a.tar.bz2
ghdl-34b590e3adc6c0a16d6f22242eeeb228017c1e8a.zip
Fixed workspace: A function is called, so must be 'Get_Date_State'.
Diffstat (limited to 'pyGHDL/lsp')
-rw-r--r--pyGHDL/lsp/workspace.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyGHDL/lsp/workspace.py b/pyGHDL/lsp/workspace.py
index 19cdc5309..8c60edab9 100644
--- a/pyGHDL/lsp/workspace.py
+++ b/pyGHDL/lsp/workspace.py
@@ -295,7 +295,7 @@ class Workspace(object):
)
# Recurse
self.obsolete_dependent_units(un, antideps)
- if nodes.Set_Date_State(un) == nodes.Date_State.Disk:
+ if nodes.Get_Date_State(un) == nodes.Date_State.Disk:
# Already obsolete!
continue
# FIXME: just de-analyze ?