From b84116ab0fa1e673c4f81d87fa281037e707acc3 Mon Sep 17 00:00:00 2001 From: "benjamin.franksen" <benjamin.franksen@helmholtz-berlin.de> Date: Wed, 9 Oct 2013 00:39:05 +0000 Subject: [PATCH] snc: fixed a bug in link_expr --- src/snc/expr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/snc/expr.c b/src/snc/expr.c index 170130f6..08d0416a 100644 --- a/src/snc/expr.c +++ b/src/snc/expr.c @@ -99,7 +99,7 @@ Expr *link_expr( if (ep1 == 0) return ep2; if (ep2 == 0) - return 0; + return ep1; ep1->last->next = ep2; ep1->last = ep2->last; ep2->last = 0; -- GitLab