forked from GitHub/gf-core
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;
|
TreeNode *root = args;
|
||||||
ref<PgfConcrLincat> lincat = root->get_lincat(linearizer);
|
ref<PgfConcrLincat> lincat = root->get_lincat(linearizer);
|
||||||
|
if (lincat == 0)
|
||||||
|
return true;
|
||||||
|
|
||||||
while (lincat->n_lindefs+lin_index < lincat->res->len) {
|
while (lincat->n_lindefs+lin_index < lincat->res->len) {
|
||||||
// Unbind all variables
|
// Unbind all variables
|
||||||
|
|||||||
Reference in New Issue
Block a user