mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
if there are no productions for a function, don't create PgfConcrLin at all
This commit is contained in:
@@ -1934,6 +1934,9 @@ void pgf_create_lin(PgfDB *db,
|
||||
PgfBuildLinIface *build,
|
||||
PgfExn *err)
|
||||
{
|
||||
if (n_prods == 0)
|
||||
return;
|
||||
|
||||
PGF_API_BEGIN {
|
||||
DB_scope scope(db, WRITER_SCOPE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user