diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2018-05-24 17:46:07 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2018-05-24 18:16:01 +0300 |
commit | 8d2f483b28f8418703982658b3e7dda7a96ad335 (patch) | |
tree | 731e5d6103090f835dd7602395f44fd2154c7d6b /src/gdbmtool.c | |
parent | b001c227fdf02e3ed1e87161cbc1dec4a1184203 (diff) | |
download | gdbm-8d2f483b28f8418703982658b3e7dda7a96ad335.tar.gz gdbm-8d2f483b28f8418703982658b3e7dda7a96ad335.tar.bz2 |
Various fixes
* src/input-std.c: Bugfix
* doc/gdbm.texi: Document changes.
* README: Update.
* configure.ac: New option --enable-gdbmtool-debug.
* src/Makefile.am: Conditionally augment AM_YFLAGS and
AM_LFLAGS with options that enable debugging.
* src/gdbmtool.c: Conditionally enable --lex-trace and
--gram-trace options.
* src/gram.y: Likewise.
* src/lex.l: Likewise.
* tests/Makefile.am: Remove architecure-dependent tests.
* tests/testsuite.at: Likewise.
Diffstat (limited to 'src/gdbmtool.c')
-rw-r--r-- | src/gdbmtool.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gdbmtool.c b/src/gdbmtool.c index 575b97b..b3055a6 100644 --- a/src/gdbmtool.c +++ b/src/gdbmtool.c @@ -1528,8 +1528,10 @@ struct gdbm_option optab[] = { { 'r', "read-only", NULL, N_("open database in read-only mode") }, { 's', "synchronize", NULL, N_("synchronize to disk after each write") }, { 'q', "quiet", NULL, N_("don't print initial banner") }, +#if GDBMTOOL_DEBUG { OPT_LEX_TRACE, "lex-trace", NULL, N_("enable lexical analyzer traces") }, { OPT_GRAM_TRACE, "gram-trace", NULL, N_("enable grammar traces") }, +#endif { 0 } }; |