mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
handle linref when the argument is an unknown function
This commit is contained in:
@@ -418,6 +418,8 @@ bool PgfLinearizer::TreeLinrefNode::resolve(PgfLinearizer *linearizer)
|
||||
{
|
||||
TreeNode *root = args;
|
||||
ref<PgfConcrLincat> lincat = root->get_lincat(linearizer);
|
||||
if (lincat == 0)
|
||||
return true;
|
||||
|
||||
while (lincat->n_lindefs+lin_index < lincat->res->len) {
|
||||
// Unbind all variables
|
||||
|
||||
Reference in New Issue
Block a user