diff options
author | Tristan Gingold <tgingold@free.fr> | 2014-05-07 05:23:35 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2014-05-07 05:23:35 +0200 |
commit | 77d6e8dba756da993707baa2deac4b235bb78992 (patch) | |
tree | 64a1f36a12c9a796437f139cea3a0be3673c8288 /files_map.ads | |
parent | ebfb88265397a6443dea3e2a6386ca1bc4608e43 (diff) | |
download | ghdl-77d6e8dba756da993707baa2deac4b235bb78992.tar.gz ghdl-77d6e8dba756da993707baa2deac4b235bb78992.tar.bz2 ghdl-77d6e8dba756da993707baa2deac4b235bb78992.zip |
Files_Map: add Create_Source_File_From_String
Std_Names: Add new predefined names.
Diffstat (limited to 'files_map.ads')
-rw-r--r-- | files_map.ads | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/files_map.ads b/files_map.ads index 999e23d5d..c360995c3 100644 --- a/files_map.ads +++ b/files_map.ads @@ -46,6 +46,11 @@ package Files_Map is function Create_Virtual_Source_File (Name: Name_Id) return Source_File_Entry; + -- Create a Source_File for a possible virtual file NAME using CONTENT + -- as content of the file. The file must not already exist. + function Create_Source_File_From_String (Name: Name_Id; Content : String) + return Source_File_Entry; + -- Return a buffer (access to the contents of the file) for a file entry. function Get_File_Source (File: Source_File_Entry) return File_Buffer_Acc; |