Re-enable redex's overlapping arrows src loc information
This reverts commit e5a84eff8d
.
and also uses the property 'original-for-check-syntax
This commit is contained in:
parent
d51f6982e2
commit
f79c93f74a
|
@ -87,8 +87,6 @@
|
||||||
(when the-use
|
(when the-use
|
||||||
(define old (syntax-property void-stx 'disappeared-use))
|
(define old (syntax-property void-stx 'disappeared-use))
|
||||||
(set! void-stx
|
(set! void-stx
|
||||||
void-stx ;; disable this for now.
|
|
||||||
#;
|
|
||||||
(syntax-property void-stx
|
(syntax-property void-stx
|
||||||
'disappeared-use
|
'disappeared-use
|
||||||
(if old (cons the-use old) the-use)))))
|
(if old (cons the-use old) the-use)))))
|
||||||
|
|
|
@ -103,9 +103,7 @@
|
||||||
;; shorten the span so it covers only up to the underscore
|
;; shorten the span so it covers only up to the underscore
|
||||||
(string-length (symbol->string nt))))
|
(string-length (symbol->string nt))))
|
||||||
(define the-id (datum->syntax table-entry nt the-srcloc id-stx))
|
(define the-id (datum->syntax table-entry nt the-srcloc id-stx))
|
||||||
(syntax-property the-id 'syncheck-original #t)
|
(syntax-property the-id 'original-for-check-syntax #t)]
|
||||||
;; disable this for now
|
|
||||||
#f]
|
|
||||||
[else
|
[else
|
||||||
#f])]
|
#f])]
|
||||||
[else
|
[else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user