baum
diff baum.c @ 38:ff01f0f076e4
option_verbose is now global; stuff about warning when (expected) nodes are not there
author | meillo@marmaro.de |
---|---|
date | Sat, 01 Mar 2008 20:04:08 +0100 |
parents | 29172b6e802a |
children | 5c13e29bc6fd |
line diff
1.1 --- a/baum.c Sat Mar 01 17:55:42 2008 +0100 1.2 +++ b/baum.c Sat Mar 01 20:04:08 2008 +0100 1.3 @@ -17,8 +17,6 @@ 1.4 #define VERSION "0.3" 1.5 1.6 1.7 -int option_verbose = 0; 1.8 - 1.9 struct Node* root = 0; 1.10 struct Stackitem* stack = NULL; 1.11 1.12 @@ -224,6 +222,8 @@ 1.13 /* main */ 1.14 int main(int argc, char* argv[]) { 1.15 unsigned char shell_return = 0; 1.16 + 1.17 + option_verbose = 0; 1.18 1.19 while (--argc > 0 && (*++argv)[0] == '-') { 1.20 if (strcmp(argv[0], "--version") == 0) {