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