mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 05:39:18 +02:00
Merge pull request #821 from nmeum/parse-string-failure-reason
(chibi parse): Ensure reason is always a string
This commit is contained in:
commit
79abb960a4
1 changed files with 1 additions and 1 deletions
|
@ -663,7 +663,7 @@
|
|||
(define (parse-string str)
|
||||
(parse-map (parse-with-failure-reason
|
||||
(parse-seq-list (map parse-char (string->list str)))
|
||||
`(expected ,str))
|
||||
(string-append "expected '" str "'"))
|
||||
list->string))
|
||||
|
||||
;;> Parse a sequence of characters matching \var{x} as with
|
||||
|
|
Loading…
Add table
Reference in a new issue