aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv/ghdlprint.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2018-12-14 19:14:03 +0100
committerTristan Gingold <tgingold@free.fr>2018-12-14 19:14:03 +0100
commit9ef4ebe51b7290e363cedaf0c2cbf72ccef2443f (patch)
treeb08899b53f097a770bb0ee8a06fbff23ebef0f52 /src/ghdldrv/ghdlprint.adb
parentd679149045aaf9eab462b98f67d4064791e2ff40 (diff)
downloadghdl-9ef4ebe51b7290e363cedaf0c2cbf72ccef2443f.tar.gz
ghdl-9ef4ebe51b7290e363cedaf0c2cbf72ccef2443f.tar.bz2
ghdl-9ef4ebe51b7290e363cedaf0c2cbf72ccef2443f.zip
files_map: renaming for consistency.
Diffstat (limited to 'src/ghdldrv/ghdlprint.adb')
-rw-r--r--src/ghdldrv/ghdlprint.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ghdldrv/ghdlprint.adb b/src/ghdldrv/ghdlprint.adb
index 4d367621c..6e75df65f 100644
--- a/src/ghdldrv/ghdlprint.adb
+++ b/src/ghdldrv/ghdlprint.adb
@@ -909,7 +909,7 @@ package body Ghdlprint is
Buf := Get_File_Source (File);
for J in 1 .. Line loop
- Ptr := Line_To_Position (File, J);
+ Ptr := File_Line_To_Position (File, J);
exit when Ptr = Source_Ptr_Bad;
exit when Buf (Ptr) = Files_Map.EOT;