aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/errorout.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/errorout.adb')
-rw-r--r--src/vhdl/errorout.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdl/errorout.adb b/src/vhdl/errorout.adb
index cdeb28ee4..be02cea1c 100644
--- a/src/vhdl/errorout.adb
+++ b/src/vhdl/errorout.adb
@@ -62,7 +62,7 @@ package body Errorout is
is
Line_Pos : Source_Ptr;
begin
- Line_Pos := Line_To_Position (E.File, E.Line);
+ Line_Pos := File_Line_To_Position (E.File, E.Line);
return Coord_To_Col (E.File, Line_Pos, E.Offset);
end Get_Error_Col;