mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
detect failures to resolve linearization
This commit is contained in:
@@ -139,6 +139,9 @@ bool PgfLinearizer::resolve()
|
||||
node->var_values[j] = (size_t) -1;
|
||||
}
|
||||
}
|
||||
|
||||
if (node->lin_index > node->lin->res->len)
|
||||
return false;
|
||||
}
|
||||
|
||||
node = node->next;
|
||||
|
||||
Reference in New Issue
Block a user