aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/scanner.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2018-11-23 19:32:33 +0100
committerTristan Gingold <tgingold@free.fr>2018-11-23 19:32:33 +0100
commitff31a2e65dd43811570f550dfe25437e7f70023a (patch)
tree3ddfbf8861a841975efe8e9a22bcab442210bbdb /src/vhdl/scanner.adb
parent6b3ec4018544c67a086ee2d70321b3b225f6a178 (diff)
downloadghdl-ff31a2e65dd43811570f550dfe25437e7f70023a.tar.gz
ghdl-ff31a2e65dd43811570f550dfe25437e7f70023a.tar.bz2
ghdl-ff31a2e65dd43811570f550dfe25437e7f70023a.zip
files_map: add support for one gap.
Diffstat (limited to 'src/vhdl/scanner.adb')
-rw-r--r--src/vhdl/scanner.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vhdl/scanner.adb b/src/vhdl/scanner.adb
index 5d94fd470..1deac7fcc 100644
--- a/src/vhdl/scanner.adb
+++ b/src/vhdl/scanner.adb
@@ -1595,6 +1595,7 @@ package body Scanner is
-- Scan_LF_Newline.
procedure Scan_Next_Line is
begin
+ Files_Map.Skip_Gap (Current_Context.Source_File, Pos);
Current_Context.Line_Number := Current_Context.Line_Number + 1;
Current_Context.Line_Pos := Pos;
File_Add_Line_Number