aboutsummaryrefslogtreecommitdiff
path: root/src/lex.l
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2018-05-24 17:46:07 +0300
committerSergey Poznyakoff <gray@gnu.org>2018-05-24 18:16:01 +0300
commit8d2f483b28f8418703982658b3e7dda7a96ad335 (patch)
tree731e5d6103090f835dd7602395f44fd2154c7d6b /src/lex.l
parentb001c227fdf02e3ed1e87161cbc1dec4a1184203 (diff)
downloadgdbm-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/lex.l')
-rw-r--r--src/lex.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lex.l b/src/lex.l
index 0318031..eff2ec7 100644
--- a/src/lex.l
+++ b/src/lex.l
@@ -121,7 +121,9 @@ input_context_push (instream_t input)
void
lex_trace (int n)
{
+#if GDBMTOOL_DEBUG
yy_flex_debug = n;
+#endif
}
int

Return to:

Send suggestions and report system problems to the System administrator.