|symbol| syntax now signals an error in #!r6rs mode.
This commit is contained in:
parent
a7680d723d
commit
9ff795e02f
|
@ -882,6 +882,8 @@
|
|||
[($char= #\. c)
|
||||
(tokenize-dot p)]
|
||||
[($char= #\| c)
|
||||
(when (eq? (port-mode p) 'r6rs-mode)
|
||||
(error 'tokenize "|symbol| syntax is invalid in #!r6rs mode"))
|
||||
(let ([ls (reverse (tokenize-bar p '()))])
|
||||
(cons 'datum (string->symbol (list->string ls))))]
|
||||
[($char= #\\ c)
|
||||
|
|
Loading…
Reference in New Issue