Mercurial > baum
diff baum.c @ 53:036779d5da75
"sum" node clears its value now everytime it gets called
author | meillo@marmaro.de |
---|---|
date | Sun, 02 Mar 2008 16:32:52 +0100 |
parents | c31b5bb6d493 |
children | 6e46b106c334 |
line wrap: on
line diff
--- a/baum.c Sun Mar 02 16:26:06 2008 +0100 +++ b/baum.c Sun Mar 02 16:32:52 2008 +0100 @@ -276,16 +276,16 @@ read_input(argv[0]); if (option_verbose) { - fprintf(stderr, "\n\ntree read from input\n(should be the same without comments and empty lines)\n\n"); - printTree(root, 0); + fprintf(stderr, "\n\ntree read from input:\n"); + printTree(root, 1); } shell_return = action(root); fflush(stdout); if (option_verbose) { - fprintf(stderr, "\n\ntree after execution of the program\n\n"); - printTree(root, 0); + fprintf(stderr, "\n\nmodified tree after execution:\n"); + printTree(root, 1); } delete(root);