diff options
author | Tristan Gingold <tgingold@free.fr> | 2018-11-23 19:32:33 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2018-11-23 19:32:33 +0100 |
commit | ff31a2e65dd43811570f550dfe25437e7f70023a (patch) | |
tree | 3ddfbf8861a841975efe8e9a22bcab442210bbdb /src/vhdl | |
parent | 6b3ec4018544c67a086ee2d70321b3b225f6a178 (diff) | |
download | ghdl-ff31a2e65dd43811570f550dfe25437e7f70023a.tar.gz ghdl-ff31a2e65dd43811570f550dfe25437e7f70023a.tar.bz2 ghdl-ff31a2e65dd43811570f550dfe25437e7f70023a.zip |
files_map: add support for one gap.
Diffstat (limited to 'src/vhdl')
-rw-r--r-- | src/vhdl/scanner.adb | 1 |
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 |