aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-source.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth/synth-source.adb')
-rw-r--r--src/synth/synth-source.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synth/synth-source.adb b/src/synth/synth-source.adb
index d160da1f2..0ccbf0d90 100644
--- a/src/synth/synth-source.adb
+++ b/src/synth/synth-source.adb
@@ -25,7 +25,7 @@ package body Synth.Source is
procedure Set_Location (N : Net; Src : Syn_Src) is
begin
if Flag_Locations then
- Set_Location (Get_Parent (N), Get_Location (Src));
+ Set_Location (Get_Net_Parent (N), Get_Location (Src));
end if;
end Set_Location;
end Synth.Source;