diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vhdl/translate/ortho_front.adb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vhdl/translate/ortho_front.adb b/src/vhdl/translate/ortho_front.adb index e17b1a7..35a7560 100644 --- a/src/vhdl/translate/ortho_front.adb +++ b/src/vhdl/translate/ortho_front.adb @@ -285,6 +285,10 @@ package body Ortho_Front is when Action_Elaborate => Flags.Flag_Elaborate := True; Flags.Flag_Only_Elab_Warnings := True; + if Elab_Filelist = null then + Error_Msg_Option ("missing -l for --elab"); + raise Option_Error; + end if; Translation.Elaborate (Elab_Entity.all, Elab_Architecture.all, Elab_Filelist.all, False); |