aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl')
-rw-r--r--src/vhdl/vhdl-scanner.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vhdl/vhdl-scanner.adb b/src/vhdl/vhdl-scanner.adb
index 10181cd6c..9c3d952ab 100644
--- a/src/vhdl/vhdl-scanner.adb
+++ b/src/vhdl/vhdl-scanner.adb
@@ -2155,7 +2155,8 @@ package body Vhdl.Scanner is
or Vhdl_Std >= Vhdl_02)
and then Characters_Kind (Source (Pos)) = Invalid
then
- Error_Msg_Scan ("invalid character, even in a comment");
+ Error_Msg_Scan ("invalid character, even in a comment "
+ & "(turn off with -C)");
end if;
Pos := Pos + 1;
end loop;