aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-scanner.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/vhdl-scanner.adb')
-rw-r--r--src/vhdl/vhdl-scanner.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vhdl/vhdl-scanner.adb b/src/vhdl/vhdl-scanner.adb
index 1b3243761..3aa6f0361 100644
--- a/src/vhdl/vhdl-scanner.adb
+++ b/src/vhdl/vhdl-scanner.adb
@@ -1845,7 +1845,7 @@ package body Vhdl.Scanner is
Pos := Pos + 1;
end loop;
if Flag_Comment then
- Current_Token := Tok_Comment;
+ Current_Token := Tok_Line_Comment;
return;
end if;
goto Again;
@@ -1928,7 +1928,7 @@ package body Vhdl.Scanner is
end case;
end loop;
if Flag_Comment then
- Current_Token := Tok_Comment;
+ Current_Token := Tok_Block_Comment;
return;
end if;
goto Again;