comparison actions.c @ 30:cd979b979610

fixed multiple (un)indentions in read_input; some better comments
author meillo@marmaro.de
date Fri, 22 Feb 2008 14:47:47 +0100
parents f0856c177403
children 4e60d96265f0
comparison
equal deleted inserted replaced
29:88a51653db83 30:cd979b979610
91 struct Node* tp; 91 struct Node* tp;
92 struct Node* last; 92 struct Node* last;
93 unsigned char i; 93 unsigned char i;
94 tp = node->down; 94 tp = node->down;
95 for (i = 0; i < node->value; i++) { 95 for (i = 0; i < node->value; i++) {
96 /* deep copy */ 96 /* FIXME deep copy */
97 last = insertLast(node, newNode(tp->name, tp->value)); 97 last = insertLast(node, newNode(tp->name, tp->value));
98 if (tp->down != NULL) { 98 if (tp->down != NULL) {
99 last->down = newNode(tp->down->name, tp->down->value); 99 last->down = newNode(tp->down->name, tp->down->value);
100 } 100 }
101 101