mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 03:09:33 -06:00
embedded mode for GF grammar in Python. Only generation for now
This commit is contained in:
@@ -198,3 +198,10 @@ pgf_concr_add_literal(PgfConcr *concr, PgfCId cat,
|
||||
gu_map_put(concr->callbacks, cnccat,
|
||||
PgfLiteralCallback*, callback);
|
||||
}
|
||||
|
||||
PgfExprProb*
|
||||
pgf_fun_get_ep(void* value)
|
||||
{
|
||||
PgfAbsFun* absfun = *((PgfAbsFun**) value);
|
||||
return &absfun->ep;
|
||||
}
|
||||
|
||||
@@ -189,4 +189,8 @@ void
|
||||
pgf_check_type(PgfPGF* gr, PgfType** ty,
|
||||
GuExn* exn, GuPool* pool);
|
||||
|
||||
// internal
|
||||
PgfExprProb*
|
||||
pgf_fun_get_ep(void* value);
|
||||
|
||||
#endif // PGF_H_
|
||||
|
||||
Reference in New Issue
Block a user