readPGF in the Python runtime now throws "No such file or directory" exception if the grammar is missing

This commit is contained in:
kr.angelov
2013-05-29 10:49:56 +00:00
parent 7b13fbda35
commit fac39a78fe
2 changed files with 11 additions and 3 deletions

View File

@@ -91,8 +91,11 @@ gu_exn_clear(GuExn* err) {
GuType*
gu_exn_caught(GuExn* err);
const void*
gu_exn_caught_data(GuExn* err);
inline const void*
gu_exn_caught_data(GuExn* err)
{
return err->data.data;
}
/// Temporarily block a raised exception.
void