Don't use source locator when it won't work.
svn: r9278
This commit is contained in:
parent
2de5845dbd
commit
df6e038f26
|
@ -29,7 +29,9 @@
|
||||||
;(printf "orig: ~a~n" (syntax-object->datum omodule))
|
;(printf "orig: ~a~n" (syntax-object->datum omodule))
|
||||||
;(printf "exp: ~a~n" (syntax-object->datum emodule))
|
;(printf "exp: ~a~n" (syntax-object->datum emodule))
|
||||||
;(printf "stx (locate): ~a~n" (syntax-object->datum stx))
|
;(printf "stx (locate): ~a~n" (syntax-object->datum stx))
|
||||||
(look-for-in-orig omodule emodule stx))
|
(if (and omodule emodule stx)
|
||||||
|
(look-for-in-orig omodule emodule stx)
|
||||||
|
stx))
|
||||||
|
|
||||||
;; produce a type error, using the current syntax
|
;; produce a type error, using the current syntax
|
||||||
(define (tc-error msg . rest)
|
(define (tc-error msg . rest)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user