aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl')
-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