# HG changeset patch # User meillo@marmaro.de # Date 1204390285 -3600 # Node ID b11ac43f3917d51c12990e222eab82889ca94ef2 # Parent 3e93e66ff8d33d63a2620c1c94a997da54c7b80b removed node blackhole and substituted by node number now executing its child diff -r 3e93e66ff8d3 -r b11ac43f3917 actions.c --- a/actions.c Sat Mar 01 17:49:33 2008 +0100 +++ b/actions.c Sat Mar 01 17:51:25 2008 +0100 @@ -9,7 +9,6 @@ unsigned char action_number(struct Node* node); unsigned char action_input(struct Node* node); unsigned char action_times(struct Node* node); -unsigned char action_blackhole(struct Node* node); @@ -36,9 +35,6 @@ } else if (strcmp(node->name, "times") == 0) { return action_times(node); - } else if (strcmp(node->name, "blackhole") == 0) { - return action_blackhole(node); - } else { fprintf(stderr, "unknown kind of node\n"); exit(4); @@ -71,6 +67,7 @@ unsigned char action_number(struct Node* node) { + action(node->down); return node->value; } @@ -102,11 +99,3 @@ } return 0; } - - -unsigned char action_blackhole(struct Node* node) { - action(node->down); - return 0; -} - -