diff options
author | Tristan Gingold <tgingold@free.fr> | 2023-03-12 17:28:39 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2023-03-13 07:29:24 +0100 |
commit | 5d90b04e624713e5341439167f7b54a699ce7c6b (patch) | |
tree | d66cd0c1bf8863849ad810ee303c5c419bbd4eca /src/ghdldrv/ghdllocal.ads | |
parent | c2a8dee97b6794753da78e8b3365f7d5650238b0 (diff) | |
download | ghdl-5d90b04e624713e5341439167f7b54a699ce7c6b.tar.gz ghdl-5d90b04e624713e5341439167f7b54a699ce7c6b.tar.bz2 ghdl-5d90b04e624713e5341439167f7b54a699ce7c6b.zip |
ghdllocal.adb(Build_Dependence): rebuild file dependencies.
vhdl: remove Get/Set_File_Dependence_List.
Fix #2388
Diffstat (limited to 'src/ghdldrv/ghdllocal.ads')
-rw-r--r-- | src/ghdldrv/ghdllocal.ads | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ghdldrv/ghdllocal.ads b/src/ghdldrv/ghdllocal.ads index f476ae24c..953002923 100644 --- a/src/ghdldrv/ghdllocal.ads +++ b/src/ghdldrv/ghdllocal.ads @@ -130,9 +130,13 @@ package Ghdllocal is -- Raise errorout.compilation_error in case of error (parse error). procedure Load_All_Libraries_And_Files; + -- Return an ordered list of design_files to build LIB.PRIM.SEC. function Build_Dependence (Lib : Name_Id; Prim : Name_Id; Sec : Name_Id) return Iir_List; + -- Return a list of design_file on which FILE depends. + function Build_File_Dependences (File : Iir) return Iir_List; + -- Return True iff file FILE has been modified (the file time stamp does -- no correspond to what was recorded in the library). function Source_File_Modified (File : Iir_Design_File) return Boolean; |