diff options
author | Tristan Gingold <tgingold@free.fr> | 2018-12-14 19:14:03 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2018-12-14 19:14:03 +0100 |
commit | 9ef4ebe51b7290e363cedaf0c2cbf72ccef2443f (patch) | |
tree | b08899b53f097a770bb0ee8a06fbff23ebef0f52 /src/ghdldrv | |
parent | d679149045aaf9eab462b98f67d4064791e2ff40 (diff) | |
download | ghdl-9ef4ebe51b7290e363cedaf0c2cbf72ccef2443f.tar.gz ghdl-9ef4ebe51b7290e363cedaf0c2cbf72ccef2443f.tar.bz2 ghdl-9ef4ebe51b7290e363cedaf0c2cbf72ccef2443f.zip |
files_map: renaming for consistency.
Diffstat (limited to 'src/ghdldrv')
-rw-r--r-- | src/ghdldrv/ghdlprint.adb | 2 |
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; |