summaryrefslogtreecommitdiff
path: root/halibut.h
diff options
context:
space:
mode:
authorJacob Nevins <jacobn@chiark.greenend.org.uk>2005-02-17 19:00:48 +0000
committerJacob Nevins <jacobn@chiark.greenend.org.uk>2005-02-17 19:00:48 +0000
commit45dd6bf764064c3b2a9f087d8206179f514638ac (patch)
tree48031c7b55380daef6591727dbd0843af77ee844 /halibut.h
parent4a48e5878f2ededa8bc33e620e26489bf911c5cb (diff)
downloadhalibut-45dd6bf764064c3b2a9f087d8206179f514638ac.zip
halibut-45dd6bf764064c3b2a9f087d8206179f514638ac.tar.gz
halibut-45dd6bf764064c3b2a9f087d8206179f514638ac.tar.bz2
halibut-45dd6bf764064c3b2a9f087d8206179f514638ac.tar.xz
Changes/additions to input character set handling:
- After discussion with Simon, change the default input charset back to ASCII, rather than trying to work it out from the locale, for the sake of promoting .but file portability. - Add a new command-line option "--input-charset=csname", which overrides the ASCII default for all input files (since there's no other way to use a non-ASCII-compatible input file). - Output a warning if -Cinput-charset:foo is specified that it has no effect. - Update the docs to match all this. Also try to clarify some other things in this area that caught me out. [originally from svn r5332]
Diffstat (limited to 'halibut.h')
-rw-r--r--halibut.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/halibut.h b/halibut.h
index f76d059..8c7caed 100644
--- a/halibut.h
+++ b/halibut.h
@@ -206,6 +206,8 @@ enum {
err_nomemory, /* out of memory */
err_optnoarg, /* option `-%s' requires an argument */
err_nosuchopt, /* unrecognised option `-%s' */
+ err_cmdcharset, /* unrecognised charset %s (cmdline) */
+ err_futileopt, /* futile option `-%s'%s */
err_noinput, /* no input files */
err_cantopen, /* unable to open input file `%s' */
err_nodata, /* no data in input files */