mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-11 13:59:31 -06:00
overload pgf.Type for backward compatibility and support for dependent and simple types
This commit is contained in:
@@ -336,7 +336,7 @@ dtyp(PgfUnmarshaller *this, int n_hypos, PgfTypeHypo *hypos, PgfText *cat, int n
|
||||
pytype->exprs = PyTuple_New(n_exprs);
|
||||
for (int i = 0; i < n_exprs; i++) {
|
||||
PyObject *expr = (PyObject *)exprs[i];
|
||||
PyTuple_SetItem(pytype->exprs, i, expr);
|
||||
PyTuple_SET_ITEM(pytype->exprs, i, expr);
|
||||
Py_INCREF(expr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user