diff options
author | Tristan Gingold <tgingold@free.fr> | 2017-10-24 19:16:48 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2017-10-24 19:16:48 +0200 |
commit | 1fbf1e9fc8455d8c675cc80818d1a2cdeaccdcb8 (patch) | |
tree | 8f9f3a2eef6a49611c0493699860feb55d19fb4f | |
parent | e1e1c38602ce8a080427ea189c46fc74873ab453 (diff) | |
download | ghdl-1fbf1e9fc8455d8c675cc80818d1a2cdeaccdcb8.tar.gz ghdl-1fbf1e9fc8455d8c675cc80818d1a2cdeaccdcb8.tar.bz2 ghdl-1fbf1e9fc8455d8c675cc80818d1a2cdeaccdcb8.zip |
errorout: adjust caret position.
-rw-r--r-- | src/vhdl/errorout.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdl/errorout.adb b/src/vhdl/errorout.adb index 9de1aff56..96ee810f1 100644 --- a/src/vhdl/errorout.adb +++ b/src/vhdl/errorout.adb @@ -575,7 +575,7 @@ package body Errorout is and then (File /= No_Source_File_Entry and Line /= 0) then Put_Line (Extract_Expanded_Line (File, Line)); - Put_Line ((1 .. Col => ' ') & '^'); + Put_Line ((1 .. Col - 1 => ' ') & '^'); end if; end Report_Msg; |