1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 04:40:29 +02:00
guile/module
Andy Wingo 0bc86fcedc getopt-long: arg parsing errors cause print and exit, not backtrace
* module/ice-9/getopt-long.scm (fatal-error): New helper.  For errors
  that come from the user -- i.e., not the grammar -- we will handle our
  own error printing and call `exit' rather than relying on the root
  catch handler.  This is more friendly to the user than a Scheme
  backtrace.
  (parse-option-spec, process-options, getopt-long): Call `fatal-error'
  as appropriate.

* test-suite/tests/getopt-long.test (pass-if-fatal-exception): New
  helper, checks that a certain key was thrown to, and that suitable
  output has been printed on an error port.
  (deferr): Change to expect a 'quit key instead of 'misc-error.  Update
  exceptions to not match the beginning of the string, as that will be
  the program name.  Update tests to use pass-if-fatal-exception.
2011-02-10 12:17:23 +01:00
..
ice-9 getopt-long: arg parsing errors cause print and exit, not backtrace 2011-02-10 12:17:23 +01:00
language fix memq/memv inlining 2011-02-07 21:58:51 +01:00
oop Fix GOOPS method compilation bug when no next-method exists 2011-01-30 13:30:08 +01:00
rnrs R6RS: Have put-char', put-string', etc. raise an `&i/o-encoding-error'. 2011-02-02 18:06:29 +01:00
scripts Have "frisk" recognize #:use-module' and #:autoload'. 2010-10-27 23:31:49 +02:00
srfi Get rid of `define-macro' in the SRFI 26 implementation 2010-12-07 23:13:55 +01:00
sxml sxml->xml fix 2010-12-02 22:24:26 +01:00
system Have `define-wrapped-pointer-type' take a type name. 2011-02-08 22:42:45 +01:00
texinfo stexi->shtml supports itemx 2011-01-25 17:59:45 +01:00
web request and response cleanups 2011-01-10 22:44:41 -08:00
Makefile.am store macro definitions in the function slot 2010-12-07 13:21:02 +01:00
rnrs.scm implement port-eof? 2011-01-21 08:27:08 +01:00
statprof.scm remove a number of debug options 2010-09-24 20:57:01 +02:00
texinfo.scm Remove unused top-level variables. 2010-01-11 01:21:14 +01:00