From 694749d385e39710fe699da024510fb9343ebb77 Mon Sep 17 00:00:00 2001 From: ronny Date: Mon, 11 Jun 2001 08:15:36 +0000 Subject: bug fix, assign last nodedefs in CollectSharedNodeIdsInRootNode git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@477 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d --- backendC/CleanCompilerSources/statesgen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backendC') diff --git a/backendC/CleanCompilerSources/statesgen.c b/backendC/CleanCompilerSources/statesgen.c index 4979ed3..07575c4 100644 --- a/backendC/CleanCompilerSources/statesgen.c +++ b/backendC/CleanCompilerSources/statesgen.c @@ -3595,7 +3595,7 @@ static NodeDefs *CollectSharedNodeIdsInRootNode (Node* node_p,NodeId parent_node { NodeDefs *guard_last; - CollectSharedNodeIdsInRootNode (&root_node->node_arguments->arg_node, parent_node_id, last); + last = CollectSharedNodeIdsInRootNode (&root_node->node_arguments->arg_node, parent_node_id, last); guard_last=&root_node->node_node_defs; guard_last=CollectSharedNodeIdsInRootNode (&root_node->node_arguments->arg_next->arg_node, parent_node_id, guard_last); *guard_last=NULL; -- cgit v1.2.3