diff options
author | Han-Wen Nienhuys <hanwen@lilypond.org> | 2007-01-19 19:26:36 +0000 |
---|---|---|
committer | Han-Wen Nienhuys <hanwen@lilypond.org> | 2007-01-19 19:26:36 +0000 |
commit | 62560650136f8c1a321a754e5081e323009b812a (patch) | |
tree | e20bd1417e43f56b818c79fd5059a61a036532e2 /guile-readline | |
parent | 42ddb3cb8b30a2bba45c4ef9bf29d3ab04c6cc45 (diff) | |
download | guile-62560650136f8c1a321a754e5081e323009b812a.tar.gz |
* readline.c: terminate option list with NULL.
* read.c: idem.
* print.c: idem.
* eval.c: terminate option lists with 0.
* options.c: remove n (for length) from scm_option_X
functions. Detect option list length by looking for NULL name.
Diffstat (limited to 'guile-readline')
-rw-r--r-- | guile-readline/ChangeLog | 4 | ||||
-rw-r--r-- | guile-readline/readline.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/guile-readline/ChangeLog b/guile-readline/ChangeLog index b7bddd59f..e3569b284 100644 --- a/guile-readline/ChangeLog +++ b/guile-readline/ChangeLog @@ -1,3 +1,7 @@ +2007-01-19 Han-Wen Nienhuys <hanwen@lilypond.org> + + * readline.c: terminate option list with NULL. + 2006-10-06 Neil Jerram <neil@ossau.uklinux.net> * ice-9/readline.scm (new-input-prompt): Renamed from "prompt". diff --git a/guile-readline/readline.c b/guile-readline/readline.c index 4eab67582..4a87ae2dc 100644 --- a/guile-readline/readline.c +++ b/guile-readline/readline.c @@ -52,7 +52,8 @@ scm_t_option scm_readline_opts[] = { { SCM_OPTION_INTEGER, "history-length", 200, "History length." }, { SCM_OPTION_INTEGER, "bounce-parens", 500, - "Time (ms) to show matching opening parenthesis (0 = off)."} + "Time (ms) to show matching opening parenthesis (0 = off)."}, + { 0 } }; extern void stifle_history (int max); |