aboutsummaryrefslogtreecommitdiff
path: root/backendC
diff options
context:
space:
mode:
authorronny2001-06-11 08:15:36 +0000
committerronny2001-06-11 08:15:36 +0000
commit694749d385e39710fe699da024510fb9343ebb77 (patch)
treeae69be5387c77af4220d2b508063da7575eb154b /backendC
parentmerge all cases (diff)
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
Diffstat (limited to 'backendC')
-rw-r--r--backendC/CleanCompilerSources/statesgen.c2
1 files changed, 1 insertions, 1 deletions
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;