mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-10 21:39:32 -06:00
implemented functionType and marshalling for types and expressions
This commit is contained in:
@@ -3513,7 +3513,7 @@ pgf_readPGF(PyObject *self, PyObject *args)
|
||||
|
||||
// Read the PGF grammar.
|
||||
PgfExn err;
|
||||
py_pgf->pgf = pgf_read_pgf(fpath, &err);
|
||||
py_pgf->pgf = pgf_read_pgf(fpath, NULL/*TO BE FIXED*/, &err);
|
||||
if (err.type == PGF_EXN_SYSTEM_ERROR) {
|
||||
errno = err.code;
|
||||
PyErr_SetFromErrnoWithFilename(PyExc_IOError, fpath);
|
||||
|
||||
Reference in New Issue
Block a user