diff options
Diffstat (limited to 'src/vhdl')
-rw-r--r-- | src/vhdl/translate/ortho_front.adb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vhdl/translate/ortho_front.adb b/src/vhdl/translate/ortho_front.adb index 55f076659..46f303348 100644 --- a/src/vhdl/translate/ortho_front.adb +++ b/src/vhdl/translate/ortho_front.adb @@ -336,7 +336,9 @@ package body Ortho_Front is raise Compilation_Error; end if; when Action_Compile_Std_Package => - if Filename /= null then + if Filename /= null + and then Filename.all /= "std_standard.vhdl" + then Error_Msg_Option ("--compile-standard is not compatible with a filename"); return False; |