summaryrefslogtreecommitdiff
path: root/halibut.h
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2009-10-24 09:08:26 +0000
committerSimon Tatham <anakin@pobox.com>2009-10-24 09:08:26 +0000
commitccb035ab284dcce968d948a5f04eef96c9cc541d (patch)
treeda95a7e83c75ea5f9e28d5c2e66532ef9b4390f3 /halibut.h
parent0a4281ca5b029a961fbef0856e27dee2a23c8cdb (diff)
downloadhalibut-ccb035ab284dcce968d948a5f04eef96c9cc541d.zip
halibut-ccb035ab284dcce968d948a5f04eef96c9cc541d.tar.gz
halibut-ccb035ab284dcce968d948a5f04eef96c9cc541d.tar.bz2
halibut-ccb035ab284dcce968d948a5f04eef96c9cc541d.tar.xz
Enable Halibut to read a .but file from standard input, by supplying
the special filename '-'. [originally from svn r8728]
Diffstat (limited to 'halibut.h')
-rw-r--r--halibut.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/halibut.h b/halibut.h
index 4f433e1..11b8ac2 100644
--- a/halibut.h
+++ b/halibut.h
@@ -62,6 +62,7 @@ struct input_Tag {
int nfiles; /* how many in the list */
FILE *currfp; /* the currently open one */
int currindex; /* which one is that in the list */
+ int wantclose; /* does the current file want closing */
pushback *pushback; /* pushed-back input characters */
int npushback, pushbacksize;
filepos pos;