oops, forgot to recur when parsing prefs
original commit: 1e4c2cd6e03e0eaf863982d8cb626769ba4cbfb1
This commit is contained in:
parent
a6dbd46b1e
commit
173c7a36db
|
@ -222,8 +222,7 @@
|
||||||
(cond
|
(cond
|
||||||
[(pair? input)
|
[(pair? input)
|
||||||
(let/ec k
|
(let/ec k
|
||||||
(let ([first (car input)]
|
(let ([first (car input)])
|
||||||
[rest (cdr input)])
|
|
||||||
(when (pair? first)
|
(when (pair? first)
|
||||||
(let ([arg1 (car first)]
|
(let ([arg1 (car first)]
|
||||||
[t1 (cdr first)])
|
[t1 (cdr first)])
|
||||||
|
@ -233,7 +232,8 @@
|
||||||
(when (null? t2)
|
(when (null? t2)
|
||||||
(parse-pref arg1 arg2)
|
(parse-pref arg1 arg2)
|
||||||
(k #t)))))))
|
(k #t)))))))
|
||||||
(err input))]
|
(err input))
|
||||||
|
(loop (cdr input))]
|
||||||
[(null? input) (void)]
|
[(null? input) (void)]
|
||||||
[else (err input)]))))
|
[else (err input)]))))
|
||||||
(mred:debug:printf 'prefs "read user preferences"))))
|
(mred:debug:printf 'prefs "read user preferences"))))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user