mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-09 14:07:34 +02:00
Merge pull request #503 from edw/parse->list
Parse->list calls parse->fold with incorrect argument order
This commit is contained in:
commit
7b428d2a54
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@
|
|||
|
||||
(define (parse->list f source . o)
|
||||
(let ((index (if (pair? o) (car o) 0)))
|
||||
(reverse (parse-fold cons '() f source index))))
|
||||
(reverse (parse-fold f cons '() source index))))
|
||||
|
||||
;;> As \scheme{parse->list} but requires the entire source be parsed
|
||||
;;> with no left over characters, signalling an error otherwise.
|
||||
|
|
Loading…
Add table
Reference in a new issue