disable the extra information redex puts for check syntax
... because it results in programs that have different identifiers with overlapping ranges in the editor, something that check syntax is not yet prepared to deal with.
This commit is contained in:
parent
48c719a3ee
commit
e5a84eff8d
|
@ -87,6 +87,8 @@
|
||||||
(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)))))
|
||||||
|
|
|
@ -105,7 +105,9 @@
|
||||||
;; 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 'syncheck-original #t)
|
||||||
|
;; disable this for now
|
||||||
|
#f]
|
||||||
[else
|
[else
|
||||||
#f])]
|
#f])]
|
||||||
[else
|
[else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user