aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/pnodespy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pnodespy.py b/scripts/pnodespy.py
index 70bcc10a8..962ffa988 100755
--- a/scripts/pnodespy.py
+++ b/scripts/pnodespy.py
@@ -216,7 +216,7 @@ def do_libghdl_names():
if m:
name_def = m.group(1)
name_ref = m.group(2)
- val = m.group(3)
+ val = m.group(4)
if not val:
val = 0
val_ref = dict.get(name_ref, None)