aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-01-06 13:45:58 +0100
committertgingold <tgingold@users.noreply.github.com>2021-01-07 18:44:50 +0100
commitec39e2c29dc5f627d78be3348550be1149e0e30e (patch)
tree0fd9353f7e877d691bcd5e2b2e749ed413664fb0 /pyGHDL
parent34b590e3adc6c0a16d6f22242eeeb228017c1e8a (diff)
downloadghdl-ec39e2c29dc5f627d78be3348550be1149e0e30e.tar.gz
ghdl-ec39e2c29dc5f627d78be3348550be1149e0e30e.tar.bz2
ghdl-ec39e2c29dc5f627d78be3348550be1149e0e30e.zip
Fixed references: Get_Is_Ref has only 1 parameter.
Diffstat (limited to 'pyGHDL')
-rw-r--r--pyGHDL/lsp/references.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyGHDL/lsp/references.py b/pyGHDL/lsp/references.py
index 65bbeead4..2725f40f2 100644
--- a/pyGHDL/lsp/references.py
+++ b/pyGHDL/lsp/references.py
@@ -63,7 +63,7 @@ def find_def(n, loc):
if res is not None:
return res
elif attr == nodes_meta.Attr.Maybe_Ref:
- if not nodes.Get_Is_Ref(n, f):
+ if not nodes.Get_Is_Ref(n):
res = find_def(nodes_meta.Get_Iir(n, f), loc)
if res is not None:
return res