aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-static_proc.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-02-18 20:25:15 +0100
committerTristan Gingold <tgingold@free.fr>2020-02-18 20:25:15 +0100
commit5abd825112fcddd8a61407a422a38a6bdd3f94a8 (patch)
treeb1ce1a4a0b1e2f5aff9a03ac3ce7266b5461e81d /src/synth/synth-static_proc.adb
parent96716ed59e3ffd00511e462122abd67aac1de4cc (diff)
downloadghdl-5abd825112fcddd8a61407a422a38a6bdd3f94a8.tar.gz
ghdl-5abd825112fcddd8a61407a422a38a6bdd3f94a8.tar.bz2
ghdl-5abd825112fcddd8a61407a422a38a6bdd3f94a8.zip
synth: handle file_open.
Diffstat (limited to 'src/synth/synth-static_proc.adb')
-rw-r--r--src/synth/synth-static_proc.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/synth/synth-static_proc.adb b/src/synth/synth-static_proc.adb
index c93f3bb1f..cc92b9ee7 100644
--- a/src/synth/synth-static_proc.adb
+++ b/src/synth/synth-static_proc.adb
@@ -41,6 +41,8 @@ package body Synth.Static_Proc is
Loc : Node) is
begin
case Get_Implicit_Definition (Imp) is
+ when Iir_Predefined_File_Open =>
+ Synth_File_Open (Syn_Inst, Imp, Loc);
when Iir_Predefined_Foreign_Untruncated_Text_Read =>
Synth_Untruncated_Text_Read (Syn_Inst, Imp, Loc);
when Iir_Predefined_Deallocate =>