mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-20 16:42:51 -06:00
fix in pgf_print_expr for lambda abstractions with more than one argument
This commit is contained in:
@@ -1114,6 +1114,7 @@ pgf_print_expr(PgfExpr expr, PgfPrintContext* ctxt, int prec,
|
|||||||
PgfPrintContext* c = ctxt;
|
PgfPrintContext* c = ctxt;
|
||||||
while (c != NULL && var > 0) {
|
while (c != NULL && var > 0) {
|
||||||
c = ctxt->next;
|
c = ctxt->next;
|
||||||
|
var--;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (c == NULL) {
|
if (c == NULL) {
|
||||||
|
|||||||
Reference in New Issue
Block a user