From 8f4ae46c6ef48521747dca81c0811a347584200b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Tue, 15 May 2018 21:26:37 +0200 Subject: [PATCH] Fix incompatibility with Racket 7 The private identifier -make-attribute-mapping got renamed. --- untyped-only/syntax-parse.rkt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/untyped-only/syntax-parse.rkt b/untyped-only/syntax-parse.rkt index 75b6aee..014c025 100644 --- a/untyped-only/syntax-parse.rkt +++ b/untyped-only/syntax-parse.rkt @@ -11,7 +11,8 @@ [(version< (version) "6.90.0.24") (require (prefix-in - syntax/parse/private/residual))] [else - (require (prefix-in - racket/private/template)) + (require (rename-in (prefix-in - racket/private/template) + [-attribute-mapping -make-attribute-mapping])) (define-for-syntax (-attribute-mapping-syntax? x) ;; attribute-mapping-check is actually false when attribute-mapping-syntax? ;; would have been true (thanks rmculpepper !)