aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/sem_names.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2016-08-27 11:09:47 +0200
committerTristan Gingold <tgingold@free.fr>2016-08-27 11:09:47 +0200
commitae0b49dd52a354b2a37408641d7247fe9e7ef164 (patch)
treedb406763d6141300a6b7fecb4fab9a53f1a9f5de /src/vhdl/sem_names.adb
parentc5ef498aeeb6eb7ebd2ba998940986a119ce3f09 (diff)
downloadghdl-ae0b49dd52a354b2a37408641d7247fe9e7ef164.tar.gz
ghdl-ae0b49dd52a354b2a37408641d7247fe9e7ef164.tar.bz2
ghdl-ae0b49dd52a354b2a37408641d7247fe9e7ef164.zip
Display a nice message if std_logic_textio is not found.
Diffstat (limited to 'src/vhdl/sem_names.adb')
-rw-r--r--src/vhdl/sem_names.adb4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vhdl/sem_names.adb b/src/vhdl/sem_names.adb
index 6c25b812c..9290ae6e2 100644
--- a/src/vhdl/sem_names.adb
+++ b/src/vhdl/sem_names.adb
@@ -1897,6 +1897,10 @@ package body Sem_Names is
Error_Msg_Sem
(+Name,
" (use --ieee=synopsys for non-standard synopsys packages)");
+ elsif Suffix = Name_Std_Logic_Textio then
+ Error_Msg_Sem
+ (+Name, " (use --ieee=synopsys or --std=08 for "
+ & "this non-standard synopsys package)");
end if;
end if;
end Error_Unit_Not_Found;