guard path->relative-string/library call properly
This commit is contained in:
parent
0c9865cee7
commit
85b326d1e7
|
@ -570,8 +570,9 @@
|
|||
[struct-name struct-name]
|
||||
[(selector-ids ...) selector-ids]
|
||||
[(constructor-args ...) (generate-temporaries selector-ids)]
|
||||
[struct-name-srcloc `'(,(path->relative-string/library
|
||||
(syntax-source struct-name))
|
||||
[struct-name-srcloc `'(,(and (path-string? (syntax-source struct-name))
|
||||
(path->relative-string/library
|
||||
(syntax-source struct-name)))
|
||||
,(syntax-line struct-name)
|
||||
,(syntax-column struct-name)
|
||||
,(syntax-position struct-name)
|
||||
|
|
Loading…
Reference in New Issue
Block a user