For empty string literals, return the empty symbol

This commit is contained in:
Justin Ethier 2017-06-07 17:57:49 +00:00
parent c1f883f19e
commit 57926605a5

View file

@ -640,7 +640,7 @@
(cond (cond
((eq? #\| c) ((eq? #\| c)
(let ((str (if (null? tok) (let ((str (if (null? tok)
"||" ""
(list->string (list->string
(reverse tok))))) (reverse tok)))))
(string->symbol str))) (string->symbol str)))