cs: fix check for escaping procedure name
This commit is contained in:
parent
c61dc30560
commit
a135a868a8
|
@ -12,8 +12,8 @@
|
|||
(cond
|
||||
[(and (fx> (string-length s) 0)
|
||||
(let ([ch (string-ref s 0)])
|
||||
(or (char=? #\[)
|
||||
(char=? #\]))))
|
||||
(or (char=? #\[ ch)
|
||||
(char=? #\] ch))))
|
||||
;; Symbolic name starts with "[" or "]". To avoid confusing
|
||||
;; it with a path or "no name" encoding, add an extra
|
||||
;; "]" to be stripped away.
|
||||
|
|
Loading…
Reference in New Issue
Block a user