aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv/ghdllocal.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2023-02-11 13:34:28 +0100
committerTristan Gingold <tgingold@free.fr>2023-02-11 13:34:28 +0100
commit832dea6c6670cb2eda6c52287d0b18f021472989 (patch)
tree074553315acc349b9b440fb8b2b45d3069fb447b /src/ghdldrv/ghdllocal.adb
parent5b6835c11fb82aba91cbde3a5900ce5a45dfe725 (diff)
downloadghdl-832dea6c6670cb2eda6c52287d0b18f021472989.tar.gz
ghdl-832dea6c6670cb2eda6c52287d0b18f021472989.tar.bz2
ghdl-832dea6c6670cb2eda6c52287d0b18f021472989.zip
ghdllocal, ghdlxml: adjust after previous commit; fix #2349
Diffstat (limited to 'src/ghdldrv/ghdllocal.adb')
-rw-r--r--src/ghdldrv/ghdllocal.adb3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ghdldrv/ghdllocal.adb b/src/ghdldrv/ghdllocal.adb
index 756589602..e7e8f5261 100644
--- a/src/ghdldrv/ghdllocal.adb
+++ b/src/ghdldrv/ghdllocal.adb
@@ -1044,6 +1044,9 @@ package body Ghdllocal is
is
Error : Boolean;
begin
+ -- Allow syntax checking with simply imported dependencies.
+ Flags.Flag_Elaborate_With_Outdated := True;
+
Analyze_Files (Args, False, Error);
if Error xor Cmd.Flag_Expect_Failure then
raise Errorout.Compilation_Error;