Document that the ReadFileCallback should not emit exceptions

This commit is contained in:
Alex Beregszaszi
2017-04-22 14:08:28 +01:00
parent b7951be44a
commit c82a203206
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -79,7 +79,8 @@ class CompilerStack: boost::noncopyable
{
public:
/// Creates a new compiler stack.
/// @param _readFile callback to used to read files for import statements. Should return
/// @param _readFile callback to used to read files for import statements. Must return
/// and must not emit exceptions.
explicit CompilerStack(ReadFile::Callback const& _readFile = ReadFile::Callback());
/// Sets path remappings in the format "context:prefix=target"