diff options
author | Guido van Rossum <guido@python.org> | 2001-09-11 16:43:16 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-09-11 16:43:16 (GMT) |
commit | 25dfe2c09599228d57941a8cf8c0040670f389fd (patch) | |
tree | c632168d0be61192d5b760419fdf815794797d77 /Parser/firstsets.c | |
parent | 2732cb42694251f3c0dd38a115c2fce84bc5c931 (diff) | |
download | cpython-25dfe2c09599228d57941a8cf8c0040670f389fd.zip cpython-25dfe2c09599228d57941a8cf8c0040670f389fd.tar.gz cpython-25dfe2c09599228d57941a8cf8c0040670f389fd.tar.bz2 |
Silence parser generator output.
Diffstat (limited to 'Parser/firstsets.c')
-rw-r--r-- | Parser/firstsets.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Parser/firstsets.c b/Parser/firstsets.c index d6c4084..fcd9ffd 100644 --- a/Parser/firstsets.c +++ b/Parser/firstsets.c @@ -15,8 +15,9 @@ addfirstsets(grammar *g) { int i; dfa *d; - - printf("Adding FIRST sets ...\n"); + + if (Py_DebugFlag) + printf("Adding FIRST sets ...\n"); for (i = 0; i < g->g_ndfas; i++) { d = &g->g_dfa[i]; if (d->d_first == NULL) |