summaryrefslogtreecommitdiffstats
path: root/txr.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2012-02-17 23:35:57 -0800
committerKaz Kylheku <kaz@kylheku.com>2012-02-17 23:35:57 -0800
commitce6020f1f8248050bb17699cc229205e8cdbdf4e (patch)
tree08dcc1cc2d14f6b13975851b683465907d4a137e /txr.h
parent0c9e4bf7503de3feca97c602689d73b467b33889 (diff)
downloadtxr-ce6020f1f8248050bb17699cc229205e8cdbdf4e.tar.gz
txr-ce6020f1f8248050bb17699cc229205e8cdbdf4e.tar.bz2
txr-ce6020f1f8248050bb17699cc229205e8cdbdf4e.zip
Reimplementation of how TXR decides whether to dump bindings
or not. This is now done right inside the standard output stream. * match.c (output_produced): Variable removed. (complex_open): Assignment to output_produced removed. * stream.c (output_produced): New global variable. (stdio_put_string, stdio_put_char): Set output_produced to t if the target of the output is stdout. * stream.h (output_produced): Declared. * txr.h (output_produced): Declaration removed.
Diffstat (limited to 'txr.h')
-rw-r--r--txr.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/txr.h b/txr.h
index 23afc823..293840a1 100644
--- a/txr.h
+++ b/txr.h
@@ -35,4 +35,3 @@ extern int opt_vg_debug;
extern int opt_derivative_regex;
extern const wchli_t *version;
extern const wchar_t *progname;
-extern int output_produced;