From 9d9179a97c5c89781f9a2578273e1490c23a5c00 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 13 Nov 2019 07:55:05 +0100 Subject: synth: add support for endfile. --- src/synth/synth-files_operations.ads | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/synth/synth-files_operations.ads') diff --git a/src/synth/synth-files_operations.ads b/src/synth/synth-files_operations.ads index 81dee4a91..13852906e 100644 --- a/src/synth/synth-files_operations.ads +++ b/src/synth/synth-files_operations.ads @@ -20,10 +20,16 @@ with Vhdl.Nodes; use Vhdl.Nodes; +with Synth.Source; use Synth.Source; with Synth.Values; use Synth.Values; with Synth.Context; use Synth.Context; package Synth.Files_Operations is + -- Raised in case of un-recoverable error. + File_Execution_Error : exception; + function Elaborate_File_Declaration (Syn_Inst : Synth_Instance_Acc; Decl : Node) return File_Index; + + function Endfile (F : File_Index; Loc : Syn_Src) return Boolean; end Synth.Files_Operations; -- cgit v1.2.3