Skip to content
Snippets Groups Projects
Commit b84116ab authored by benjamin.franksen's avatar benjamin.franksen
Browse files

snc: fixed a bug in link_expr

parent 40012f82
No related branches found
No related tags found
No related merge requests found
...@@ -99,7 +99,7 @@ Expr *link_expr( ...@@ -99,7 +99,7 @@ Expr *link_expr(
if (ep1 == 0) if (ep1 == 0)
return ep2; return ep2;
if (ep2 == 0) if (ep2 == 0)
return 0; return ep1;
ep1->last->next = ep2; ep1->last->next = ep2;
ep1->last = ep2->last; ep1->last = ep2->last;
ep2->last = 0; ep2->last = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment