[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
guile/guile-core NEWS
From: |
Thien-Thi Nguyen |
Subject: |
guile/guile-core NEWS |
Date: |
Sun, 12 Aug 2001 12:30:51 -0700 |
CVSROOT: /cvs
Module name: guile
Branch: branch_release-1-6
Changes by: Thien-Thi Nguyen <address@hidden> 01/08/12 12:30:51
Modified files:
guile-core : NEWS
Log message:
Expand ice-9/getopt-long.scm bugfix news.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/guile/guile-core/NEWS.diff?cvsroot=OldCVS&only_with_tag=branch_release-1-6&tr1=1.310.2.6&tr2=1.310.2.7&r1=text&r2=text
Patches:
Index: guile/guile-core/NEWS
diff -u guile/guile-core/NEWS:1.315 guile/guile-core/NEWS:1.316
--- guile/guile-core/NEWS:1.315 Tue Aug 7 07:39:02 2001
+++ guile/guile-core/NEWS Sun Aug 12 12:19:41 2001
@@ -689,13 +689,37 @@
That is, a call to `throw', `error', etc is now guaranteed to not
return.
-** Bugfix for (ice-9 getopt-long)
+** Bugfixes for (ice-9 getopt-long)
-Parsing for options that are specified to have `optional' args now checks if
-the next element is an option instead of unconditionally taking it as the
+This module is now tested using test-suite/tests/getopt-long.test.
+The following bugs have been fixed:
+
+*** Parsing for options that are specified to have `optional' args now checks
+if the next element is an option instead of unconditionally taking it as the
option arg.
+
+*** An error is now thrown for `--opt=val' when the option description
+does not specify `(value #t)' or `(value optional)'. This condition used to
+be accepted w/o error, contrary to the documentation.
+
+*** The error message for unrecognized options is now more informative.
+It used to be "not a record", an artifact of the implementation.
+
+*** The error message for `--opt' terminating the arg list (no value), when
+`(value #t)' is specified, is now more informative. It used to be "not enough
+args".
+
+*** "Clumped" single-char args now preserve trailing string, use it as arg.
+The expansion used to be like so:
+
+ ("-abc5d" "--xyz") => ("-a" "-b" "-c" "--xyz")
+
+Note that the "5d" is dropped. Now it is like so:
+
+ ("-abc5d" "--xyz") => ("-a" "-b" "-c" "5d" "--xyz")
-Also, this module is now tested using test-suite/tests/getopt-long.test.
+This enables single-char options to have adjoining arguments as long as their
+constituent characters are not potential single-char options.
* Changes to the C interface
- guile/guile-core NEWS, Thien-Thi Nguyen, 2001/08/02
- guile/guile-core NEWS, Thien-Thi Nguyen, 2001/08/02
- guile/guile-core NEWS, Marius Vollmer, 2001/08/07
- guile/guile-core NEWS, Marius Vollmer, 2001/08/07
- guile/guile-core NEWS, Thien-Thi Nguyen, 2001/08/12
- guile/guile-core NEWS,
Thien-Thi Nguyen <=
- guile/guile-core NEWS, Thien-Thi Nguyen, 2001/08/25
- guile/guile-core NEWS, Thien-Thi Nguyen, 2001/08/25