better behavior in 'same case

svn: r9375
This commit is contained in:
Jacob Matthews 2008-04-19 18:19:18 +00:00
parent 9b0fc20d3e
commit 52ca901576

View File

@ -112,7 +112,7 @@
(cond
[(null? v) 'same]
[(and (pair? v) (symbol? (car v)) (symbol=? (car v) 'same))
'same]
(list 'same (apply build-path 'same (cdr v)))]
[(and (pair? v) (string? (car v)))
(let ([location (string->loc (car v))])
(list location (apply build-path (cdr v))))]