aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2010-06-29 21:34:34 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2010-06-29 21:34:34 +0300
commit2f831a4b8b76074284c9f8321ad1f8249664834e (patch)
treeea804cc077f9831b8e76cb3edc87e47df17283ca /doc
parent3f938834227d544f8b5fe05dcf3f57eecc5e9197 (diff)
downloadsmap-2f831a4b8b76074284c9f8321ad1f8249664834e.tar.gz
smap-2f831a4b8b76074284c9f8321ad1f8249664834e.tar.bz2
Improve debugging features.
* include/smap/wordsplit.h: Rearrange WRDSF_ flags. (WRDSF_WARNUNDEF): New flag. (WRDSE_UNDEF): New error code. * lib/wordsplit.c (expvar): Handle WRDSF_UNDEF and WRDSF_WARNUNDEF. (wordsplit_perror, _wordsplit_errstr): Handle WRDSE_UNDEF. * src/cfg.c (parse_config_loop): Level 1 enables WRDSF_WARNUNDEF. * doc/debugcat.texi: Document level conf(5).
Diffstat (limited to 'doc')
-rw-r--r--doc/debugcat.texi15
1 files changed, 14 insertions, 1 deletions
diff --git a/doc/debugcat.texi b/doc/debugcat.texi
index 5bafb84..7bb9023 100644
--- a/doc/debugcat.texi
+++ b/doc/debugcat.texi
@@ -38,6 +38,19 @@ loaded, etc.
Databases and their functionality.
@item query (4)
-Query routing.
+Query dispatcher.
+
+@item conf (5)
+Configuration file parser.
+
+Level @samp{1} enables warnings about undefined variables.
+
+Level @samp{2} displays each logical line and the result of
+expanding and splitting it.
+
+Level @samp{100} enables wordsplitter debugging. This means a
+@emph{lot} of cryptic output useful only to those who have a
+good knowledge of how the wordsplitter works.
+
@end table

Return to:

Send suggestions and report system problems to the System administrator.