aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv/ghdlprint.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/ghdldrv/ghdlprint.adb')
-rw-r--r--src/ghdldrv/ghdlprint.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ghdldrv/ghdlprint.adb b/src/ghdldrv/ghdlprint.adb
index a35ad5fbb..6d1d8d5e5 100644
--- a/src/ghdldrv/ghdlprint.adb
+++ b/src/ghdldrv/ghdlprint.adb
@@ -368,7 +368,8 @@ package body Ghdlprint is
New_Line;
Line := Line + 1;
Disp_Ln;
- when Tok_Comment =>
+ when Tok_Line_Comment
+ | Tok_Block_Comment =>
Disp_Spaces;
case Html_Format is
when Html_2 =>