Skip to content

Commit 337778b

Browse files
committed
Remove duplicate case datum
According to R7RS, it's an error if a case <datum> is duplicated. #\return and #\x0d are the same character, so this commit removes the latter to keep consistency. Note: I noticed this while compiling the code with Gambit, which errors out due to this problem.
1 parent 583c307 commit 337778b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

srfi/180/body.scm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,6 @@
538538
((#\tab) (accumulator "\\t"))
539539
((#\backspace) (accumulator "\\b"))
540540
((#\x0c) (accumulator "\\f"))
541-
((#\x0d) (accumulator "\\r"))
542541
(else (accumulator char))))
543542

544543
(define (write-json-string string accumulator)

0 commit comments

Comments
 (0)